Skip to content

Commit

Permalink
Merge pull request #84 from amensouissi/master
Browse files Browse the repository at this point in the history
call 'contains method' from 'document.body' (for ie)
  • Loading branch information
jpillora authored Oct 5, 2016
2 parents d5ddfb7 + d27d96f commit 7191c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/notify.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@
var align = positions[pAlign];
var key = pMain + "|" + pAlign;
var anchor = globalAnchors[key];
if (!anchor || !document.contains(anchor[0])) {
if (!anchor || !document.body.contains(anchor[0])) {
anchor = globalAnchors[key] = createElem("div");
var css = {};
css[main] = 0;
Expand Down

0 comments on commit 7191c17

Please sign in to comment.