Skip to content
Browse files

MDL-27658 javascript: Typo fixed for toUpperCase

  • Loading branch information...
1 parent ca3e8e9 commit 4d99adbb3280e5f2c287a9e461d888d3a47153f2 Rajesh Taneja committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/javascript-static.js
View
2 lib/javascript-static.js
@@ -924,7 +924,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 4d99adb

Please sign in to comment.
Something went wrong with that request. Please try again.