Commit 45034576 authored by John Resig's avatar John Resig

Oops, order of operations.

parent 089da4ea
...@@ -778,7 +778,7 @@ function dirCheck( dir, cur, doneName, checkSet, nodeCheck ) { ...@@ -778,7 +778,7 @@ function dirCheck( dir, cur, doneName, checkSet, nodeCheck ) {
var contains = document.compareDocumentPosition ? function(a, b){ var contains = document.compareDocumentPosition ? function(a, b){
return a.compareDocumentPosition(b) & 16; return a.compareDocumentPosition(b) & 16;
} : function(a, b){ } : function(a, b){
return a !== b && a.contains ? a.contains(b) : true; return a !== b && (a.contains ? a.contains(b) : true);
}; };
// EXPOSE // EXPOSE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment