call 'contains method' from 'document.body' (for ie)
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user