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