Index: trunk/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php |
— | — | @@ -86,7 +86,7 @@ |
87 | 87 | array( 'src' => 'js/plugins.combined.js', 'version' => 452 ), |
88 | 88 | ), |
89 | 89 | 'minified' => array( |
90 | | - array( 'src' => 'js/plugins.combined.min.js', 'version' => 469 ), |
| 90 | + array( 'src' => 'js/plugins.combined.min.js', 'version' => 470 ), |
91 | 91 | ), |
92 | 92 | ), |
93 | 93 | ); |
Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.highlightText.js |
— | — | @@ -41,7 +41,7 @@ |
42 | 42 | } |
43 | 43 | // if this is an element with childnodes, and not a script, style or an element we created |
44 | 44 | } else if ( node.nodeType == 1 && node.childNodes && !/(script|style)/i.test( node.tagName ) |
45 | | - && !( node.tagName.toLowerCase() == 'span' && node.className.match( 'highlight' ) ) ) { |
| 45 | + && !( node.tagName.toLowerCase() == 'span' && node.className.match( /\bhighlight/ ) ) ) { |
46 | 46 | for ( var i = 0; i < node.childNodes.length; ++i ) { |
47 | 47 | // call the highlight function for each child node |
48 | 48 | $.highlightText.innerHighlight( node.childNodes[i], pat ); |