##// END OF EJS Templates
trap undefined timout
Matthias BUSSONNIER -
Show More
@@ -32,12 +32,12 var IPython = (function (IPython) {
32 32 .text(msg);
33 33
34 34 $(this.selector).append(tdiv);
35 var tmout = Math.max(1000,timeout);
35 var tmout = Math.max(1500,(timeout||1500));
36 36 tdiv.fadeIn(100);
37 37
38 38 setTimeout(function () {
39 39 tdiv.fadeOut(100, function () {tdiv.remove();});
40 }, timeout)
40 }, tmout)
41 41 };
42 42
43 43 IPython.NotificationArea = NotificationArea;
General Comments 0
You need to be logged in to leave comments. Login now