mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-03 22:36:09 +00:00
Hide alert overlay when dismissed manually
This commit is contained in:
parent
3024319027
commit
b373aa6250
@ -100,6 +100,7 @@ Module.register("alert", {
|
|||||||
message: image + message,
|
message: image + message,
|
||||||
effect: this.config.alert_effect,
|
effect: this.config.alert_effect,
|
||||||
ttl: params.timer,
|
ttl: params.timer,
|
||||||
|
onClose: () => this.hide_alert(sender),
|
||||||
al_no: "ns-alert"
|
al_no: "ns-alert"
|
||||||
});
|
});
|
||||||
//Show alert
|
//Show alert
|
||||||
|
Loading…
x
Reference in New Issue
Block a user