🎨 shouldUpdate
--> needUpdate
This commit is contained in:
parent
541e0bfb72
commit
d6ff5af843
1 changed files with 2 additions and 2 deletions
|
@ -131,9 +131,9 @@
|
||||||
this.reset([]);
|
this.reset([]);
|
||||||
},
|
},
|
||||||
enable: function() {
|
enable: function() {
|
||||||
var shouldUpdate = !isEnabled;
|
const needUpdate = !isEnabled;
|
||||||
isEnabled = true;
|
isEnabled = true;
|
||||||
if (shouldUpdate) {
|
if (needUpdate) {
|
||||||
this.update();
|
this.update();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue