Lines 44-53
jQuery.fn.highlight = function(pat) {
Link Here
|
44 |
|
44 |
|
45 |
jQuery.fn.removeHighlight = function() { |
45 |
jQuery.fn.removeHighlight = function() { |
46 |
return this.find("span.term").each(function() { |
46 |
return this.find("span.term").each(function() { |
47 |
this.parentNode.firstChild.nodeName; |
47 |
$(this).contents().unwrap(); |
48 |
with (this.parentNode) { |
48 |
}); |
49 |
replaceChild(this.firstChild, this); |
|
|
50 |
normalize(); |
51 |
} |
52 |
}).end(); |
53 |
}; |
49 |
}; |
54 |
- |
|
|