mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 04:02:12 +00:00
shorthand function
This commit is contained in:
parent
fc06f13c30
commit
51967ed9f5
@ -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);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user