mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Fix #283
This commit is contained in:
parent
14d3bb273c
commit
a6da9e8943
@ -18,7 +18,7 @@ Module.register("alert",{
|
|||||||
//Position
|
//Position
|
||||||
position: "center",
|
position: "center",
|
||||||
//shown at startup
|
//shown at startup
|
||||||
welcome_message: true,
|
welcome_message: false,
|
||||||
},
|
},
|
||||||
getScripts: function() {
|
getScripts: function() {
|
||||||
return ["classie.js", "modernizr.custom.js", "notificationFx.js"];
|
return ["classie.js", "modernizr.custom.js", "notificationFx.js"];
|
||||||
|
@ -144,7 +144,10 @@
|
|||||||
if (ev.target !== self.ntf) return false;
|
if (ev.target !== self.ntf) return false;
|
||||||
this.removeEventListener(animEndEventName, onEndAnimationFn);
|
this.removeEventListener(animEndEventName, onEndAnimationFn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.parentNode === self.options.wrapper) {
|
||||||
self.options.wrapper.removeChild(this);
|
self.options.wrapper.removeChild(this);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (support.animations) {
|
if (support.animations) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user