🎨 shouldUpdate
--> needUpdate
This commit is contained in:
@@ -131,9 +131,9 @@
|
||||
this.reset([]);
|
||||
},
|
||||
enable: function() {
|
||||
var shouldUpdate = !isEnabled;
|
||||
const needUpdate = !isEnabled;
|
||||
isEnabled = true;
|
||||
if (shouldUpdate) {
|
||||
if (needUpdate) {
|
||||
this.update();
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user