Commit c8d66a63fb5a64231baf549e5736e4dd38ef8471

Authored by bernard
1 parent 85ed02f7

Fix for jQuery 1.3.2 and ie7.

@@ -410,7 +410,7 @@ @@ -410,7 +410,7 @@
410 // Display the notice. 410 // Display the notice.
411 pnotify.pnotify_display = function() { 411 pnotify.pnotify_display = function() {
412 // If the notice is not in the DOM, append it. 412 // If the notice is not in the DOM, append it.
413 - if (!pnotify.parent().length) 413 + if (!pnotify.parent().length || !pnotify.parent()[0].tagName)
414 pnotify.appendTo(body); 414 pnotify.appendTo(body);
415 // Run callback. 415 // Run callback.
416 if (opts.pnotify_before_open) { 416 if (opts.pnotify_before_open) {
Please register or login to post a comment