mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-01-10 07:58:53 +01:00
[refactor] improve update
This commit is contained in:
parent
61416e10b3
commit
02c47571fd
@ -1022,6 +1022,9 @@ var update = (function() {
|
||||
delete arrayItem.display;
|
||||
delete arrayItem.letter;
|
||||
delete arrayItem.icon;
|
||||
if (arrayItem.visual.letter == null) {
|
||||
arrayItem.visual.letter = "";
|
||||
};
|
||||
if (arrayItem.visual.icon.label == null) {
|
||||
arrayItem.visual.icon.label = "";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user