@@ -, +, @@ search results two matching records. --- .../lib/jquery/plugins/jquery.highlight-3.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) --- a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.highlight-3.js +++ a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.highlight-3.js @@ -44,10 +44,6 @@ jQuery.fn.highlight = function(pat) { jQuery.fn.removeHighlight = function() { return this.find("span.term").each(function() { - this.parentNode.firstChild.nodeName; - with (this.parentNode) { - replaceChild(this.firstChild, this); - normalize(); - } - }).end(); + $(this).contents().unwrap(); + }); }; --