mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Stupid commit to check github actions.
This commit is contained in:
parent
8cf16f1049
commit
a0366e794b
@ -103,8 +103,10 @@ Module.register("alert", {
|
|||||||
onClose: () => this.hide_alert(sender),
|
onClose: () => this.hide_alert(sender),
|
||||||
al_no: "ns-alert"
|
al_no: "ns-alert"
|
||||||
});
|
});
|
||||||
|
|
||||||
//Show alert
|
//Show alert
|
||||||
this.alerts[sender.name].show();
|
this.alerts[sender.name].show();
|
||||||
|
|
||||||
//Add timer to dismiss alert and overlay
|
//Add timer to dismiss alert and overlay
|
||||||
if (params.timer) {
|
if (params.timer) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user