Remove style update labels on sort

This commit is contained in:
Rob Garrison 2017-12-23 22:57:20 -06:00
parent d800f072f9
commit fb34c3f02c

View File

@ -194,7 +194,7 @@ const sorter = (() => {
const list = entry.classList;
if (!list.contains('hidden')) {
list.add(index % 2 ? 'odd' : 'even');
list.remove(index++ % 2 ? 'even' : 'odd');
list.remove(index++ % 2 ? 'even' : 'odd', 'no-update');
}
});
}