Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -410,7 +410,7 @@ |
410 | 410 | // Display the notice. |
411 | 411 | pnotify.pnotify_display = function() { |
412 | 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 | 414 | pnotify.appendTo(body); |
415 | 415 | // Run callback. |
416 | 416 | if (opts.pnotify_before_open) { | ... | ... |
Please
register
or
login
to post a comment