Permalink
Browse files

MDL-27658 javascript: Typo fixed for toUpperCase

  • Loading branch information...
1 parent f84058a commit dcb368720a790491ab529d6970094fb10c038c23 Rajesh Taneja committed Aug 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/javascript-static.js
View
@@ -880,7 +880,7 @@ function filterByParent(elCollection, parentFinder) {
var filteredCollection = [];
for (var i = 0; i < elCollection.length; ++i) {
var findParent = parentFinder(elCollection[i]);
- if (findParent.nodeName.toUpperCase != 'BODY') {
+ if (findParent.nodeName.toUpperCase() != 'BODY') {
filteredCollection.push(elCollection[i]);
}
}

0 comments on commit dcb3687

Please sign in to comment.