Skip to content
Permalink
Browse files

Oops, order of operations.

  • Loading branch information
jeresig committed Jan 5, 2009
1 parent 089da4e commit 4503457616372973054a85c1628031792a4882f3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/selector.js
@@ -778,7 +778,7 @@ function dirCheck( dir, cur, doneName, checkSet, nodeCheck ) {
var contains = document.compareDocumentPosition ? function(a, b){
return a.compareDocumentPosition(b) & 16;
} : function(a, b){
return a !== b && a.contains ? a.contains(b) : true;
return a !== b && (a.contains ? a.contains(b) : true);
};

// EXPOSE

0 comments on commit 4503457

Please sign in to comment.
You can’t perform that action at this time.