diff --git a/modules/default/alert/alert.js b/modules/default/alert/alert.js index b787ba57..d316b3ea 100644 --- a/modules/default/alert/alert.js +++ b/modules/default/alert/alert.js @@ -132,7 +132,7 @@ Module.register("alert",{ if (typeof payload.type === "undefined") { payload.type = "alert"; } if (payload.type === "alert") { this.show_alert(payload, sender); - } else if (payload.type = "notification") { + } else if (payload.type === "notification") { this.show_notification(payload); } } else if (notification === "HIDE_ALERT") { @@ -152,5 +152,4 @@ Module.register("alert",{ } Log.info("Starting module: " + this.name); } - });