mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
shorthand function
This commit is contained in:
parent
fc06f13c30
commit
51967ed9f5
@ -23,11 +23,11 @@ Module.register("updatenotification", {
|
||||
}, this.config.refreshInterval);
|
||||
},
|
||||
|
||||
suspend: function () {
|
||||
suspend() {
|
||||
this.suspended = true;
|
||||
},
|
||||
|
||||
resume: function () {
|
||||
resume() {
|
||||
this.suspended = false;
|
||||
this.updateDom(2);
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user