Commits

Anonymous committed e677cf2

Ported [658] to stable

  • Participants
  • Parent commits 1d0d8ed
  • Branches 0.7-stable

Comments (0)

Files changed (1)

File htdocs/trac.js

         newNode.nodeValue = newNode.nodeValue.substr(word.length);
         node.parentNode.insertBefore(span, newNode);
       }
-    } else {
+    } else if (!node.nodeName.match(/button|select|textarea/i)) {
       // Recurse into child nodes
       for (var i = 0; i < node.childNodes.length; i++) {
         highlightWord(node.childNodes[i], word, searchwordindex);