Skip to content

Commit

Permalink
Reference correct argument name, fixes SitePen#114
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed Mar 15, 2012
1 parent c1d560a commit 5f6e93b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Keyboard.js
Expand Up @@ -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 */;
}
}

Expand Down

0 comments on commit 5f6e93b

Please sign in to comment.