Permalink
Browse files

Reference correct argument name, fixes #114

  • Loading branch information...
1 parent c1d560a commit 5f6e93b9ad771368988f7956afa4b584dc0409f7 @kriszyp committed Mar 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Keyboard.js
View
2 Keyboard.js
@@ -29,7 +29,7 @@ function contains(parent, node){
if(has("dom-contains")){
return parent.contains(node);
}else{
- return parent.compareDocumentPosition(child) & 8 /* DOCUMENT_POSITION_CONTAINS */;
+ return parent.compareDocumentPosition(node) & 8 /* DOCUMENT_POSITION_CONTAINS */;
}
}

0 comments on commit 5f6e93b

Please sign in to comment.