We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b43094d + a03dbd4 commit fc5c3b4Copy full SHA for fc5c3b4
jquery.jgrowl.js
@@ -279,7 +279,7 @@
279
if ($.support.opacity === false)
280
this.style.removeAttribute('filter');
281
282
- if ( $(this).data("jGrowl") !== null ) // Happens when a notification is closing before it's open.
+ if ( $(this).data("jGrowl") !== null && typeof $(this).data("jGrowl") !== 'undefined') // Happens when a notification is closing before it's open.
283
$(this).data("jGrowl").created = new Date();
284
285
$(this).trigger('jGrowl.afterOpen');
@@ -375,4 +375,4 @@
375
/** Reference the Defaults Object for compatibility with older versions of jGrowl **/
376
$.jGrowl.defaults = $.fn.jGrowl.prototype.defaults;
377
378
-})(jQuery);
+})(jQuery);
0 commit comments