We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b670b7e + 861127e commit 51cb5c2Copy full SHA for 51cb5c2
src/contrib/highlight.js
@@ -42,7 +42,7 @@ var highlight = function($element, pattern) {
42
* removeHighlight fn copied from highlight v5 and
43
* edited to remove with() and pass js strict mode
44
*/
45
-jQuery.fn.removeHighlight = function() {
+$.fn.removeHighlight = function() {
46
return this.find("span.highlight").each(function() {
47
this.parentNode.firstChild.nodeName;
48
var parent = this.parentNode;
0 commit comments