mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
shorthand function
This commit is contained in:
@@ -23,11 +23,11 @@ Module.register("updatenotification", {
|
|||||||
}, this.config.refreshInterval);
|
}, this.config.refreshInterval);
|
||||||
},
|
},
|
||||||
|
|
||||||
suspend: function () {
|
suspend() {
|
||||||
this.suspended = true;
|
this.suspended = true;
|
||||||
},
|
},
|
||||||
|
|
||||||
resume: function () {
|
resume() {
|
||||||
this.suspended = false;
|
this.suspended = false;
|
||||||
this.updateDom(2);
|
this.updateDom(2);
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user