Skip to content

Commit 51cb5c2

Browse files
authored
Merge pull request #1143 from Stevebel/master
Fixed jQuery not found error
2 parents b670b7e + 861127e commit 51cb5c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contrib/highlight.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var highlight = function($element, pattern) {
4242
* removeHighlight fn copied from highlight v5 and
4343
* edited to remove with() and pass js strict mode
4444
*/
45-
jQuery.fn.removeHighlight = function() {
45+
$.fn.removeHighlight = function() {
4646
return this.find("span.highlight").each(function() {
4747
this.parentNode.firstChild.nodeName;
4848
var parent = this.parentNode;

0 commit comments

Comments
 (0)