diff options
Diffstat (limited to 'templates/html/search.js')
-rw-r--r-- | templates/html/search.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/html/search.js b/templates/html/search.js index 77ee7ab..c1fc7c9 100644 --- a/templates/html/search.js +++ b/templates/html/search.js @@ -441,12 +441,12 @@ function SearchResults(name) while (element && element!=parentElement) { - if (element.nodeName == 'DIV' && element.className == 'SRChildren') + if (element.nodeName == 'div' && element.className == 'SRChildren') { return element; } - if (element.nodeName == 'DIV' && element.hasChildNodes()) + if (element.nodeName == 'div' && element.hasChildNodes()) { element = element.firstChild; } |