Permalink
Browse files

Merge branch 'wip-mdl-27658-m21' of git://github.com/rajeshtaneja/moo…

…dle into MOODLE_21_STABLE
  • Loading branch information...
skodak committed Aug 2, 2011
2 parents e4e3b12 + 5bda137 commit 5d08b03e5b17279c39db09a008d5ad0e2c2d3423
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/javascript-static.js
View
@@ -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 5d08b03

Please sign in to comment.