Permalink
Browse files

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

…dle into MOODLE_20_STABLE
  • Loading branch information...
2 parents 984c6bd + dcb3687 commit b8a5c64e95ba8096bb0c063f34afde51ab21ed09 @skodak skodak committed Aug 2, 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 b8a5c64

Please sign in to comment.