We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdd6914 commit 0a58e72Copy full SHA for 0a58e72
jquery.jgrowl.js
@@ -359,7 +359,11 @@
359
startup: function(e) {
360
this.element = $(e).addClass('jGrowl').append('<div class="jGrowl-notification"></div>');
361
this.interval = setInterval( function() {
362
- $(e).data('jGrowl.instance').update();
+ // some error in chage ^^
363
+ var instance = $(e).data('jGrowl.instance');
364
+ if (undefined != instance) {
365
+ instance.update();
366
+ }
367
}, parseInt(this.defaults.check, 10));
368
},
369
0 commit comments