##// END OF EJS Templates
Small changes to notification widget
Jessica B. Hamrick -
Show More
@@ -90,7 +90,7 b' define(['
90
90
91 // bind the click callback if it is given
91 // bind the click callback if it is given
92 if (click_callback !== undefined) {
92 if (click_callback !== undefined) {
93 this.element.click(function() {
93 this.element.click(function () {
94 if (click_callback() !== false) {
94 if (click_callback() !== false) {
95 that.element.fadeOut(100, function () {that.inner.text('');});
95 that.element.fadeOut(100, function () {that.inner.text('');});
96 }
96 }
@@ -105,7 +105,8 b' define(['
105
105
106 /**
106 /**
107 * Display an information message (styled with the 'info'
107 * Display an information message (styled with the 'info'
108 * class). Arguments are the same as in set_message.
108 * class). Arguments are the same as in set_message. Default
109 * timeout is 3500 milliseconds.
109 *
110 *
110 * @method info
111 * @method info
111 */
112 */
General Comments 0
You need to be logged in to leave comments. Login now