Don't add suffixes "kBytes" and "pages" twice

This commit is contained in:
Carsten Grohmann 2018-10-16 19:59:46 +02:00
parent a83e2d0794
commit f1591ed8f9

View File

@ -745,10 +745,6 @@ Killed process 6576 (java) total-vm:33914892kB, anon-rss:20629004kB, file-rss:0k
if content == '<not found>': if content == '<not found>':
row = element.parentNode row = element.parentNode
row.classList.add('js-text--display-none') row.classList.add('js-text--display-none')
elif item.endswith('_kb'):
element.classList.add('text--append-suffix-kbytes')
elif item.endswith('_pages'):
element.classList.add('text--append-suffix-pages')
if DEBUG: if DEBUG:
show_element('notify_box') show_element('notify_box')