Merge branch 'wip-mdl-27658' of git://github.com/rajeshtaneja/moodle

This commit is contained in:
Petr Skoda 2011-08-02 15:11:42 +02:00
commit 4a47631fb4

View File

@ -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]);
}
}