Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-27658 javascript: Typo fixed for toUpperCase

  • Loading branch information...
commit 4d99adbb3280e5f2c287a9e461d888d3a47153f2 1 parent ca3e8e9
Rajesh Taneja authored
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]);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.