mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-01-10 16:08:12 +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.display;
|
||||||
delete arrayItem.letter;
|
delete arrayItem.letter;
|
||||||
delete arrayItem.icon;
|
delete arrayItem.icon;
|
||||||
|
if (arrayItem.visual.letter == null) {
|
||||||
|
arrayItem.visual.letter = "";
|
||||||
|
};
|
||||||
if (arrayItem.visual.icon.label == null) {
|
if (arrayItem.visual.icon.label == null) {
|
||||||
arrayItem.visual.icon.label = "";
|
arrayItem.visual.icon.label = "";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user