shorthand function

This commit is contained in:
Felix Wiedenbach 2021-10-02 14:18:58 +02:00
parent fc06f13c30
commit 51967ed9f5

View File

@ -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);
}, },