mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merge branch 'wip-mdl-27658' of git://github.com/rajeshtaneja/moodle
This commit is contained in:
commit
4a47631fb4
@ -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]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user