Skip to content

Commit c02046e

Browse files
author
David Catmull
committed
JavaScript fix
1 parent fc3ef16 commit c02046e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html/lib/SearchWebView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function HighlightAllOccurencesOfStringForElement(element,keyword) {
3232
} else if (element.nodeType == 1) { // Element node
3333
if (element.style.display != "none" && element.nodeName.toLowerCase() != 'select') {
3434
for (var i=0; i<element.childNodes.length; i++) {
35-
if((element.childNodes[i].nodeType==1)
35+
if (element.childNodes[i].nodeType==1)
3636
alert("-->"+element.childNodes[i].getAttribute('class'));
3737
HighlightAllOccurencesOfStringForElement(element.childNodes[i],keyword);
3838
}

0 commit comments

Comments
 (0)