Navigation Menu

Skip to content

Commit

Permalink
MDL-27658 javascript: Typo fixed for toUpperCase
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajesh Taneja committed Aug 1, 2011
1 parent ca3e8e9 commit 4d99adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/javascript-static.js
Expand Up @@ -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]);
}
}
Expand Down

0 comments on commit 4d99adb

Please sign in to comment.