diff --git a/editor/js/ui/notifications.js b/editor/js/ui/notifications.js index af73dab88..809fcec51 100644 --- a/editor/js/ui/notifications.js +++ b/editor/js/ui/notifications.js @@ -48,14 +48,14 @@ RED.notify = (function() { }); }; })(); - $(n).click((function() { - var nn = n; - return function() { - nn.close(); - window.clearTimeout(nn.timeoutid); - }; - })()); if (!fixed) { + $(n).click((function() { + var nn = n; + return function() { + nn.close(); + window.clearTimeout(nn.timeoutid); + }; + })()); n.timeoutid = window.setTimeout(n.close,timeout||3000); } currentNotifications.push(n);