Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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