Skip to content

Commit

Permalink
Merge pull request selectize#1143 from Stevebel/master
Browse files Browse the repository at this point in the history
Fixed jQuery not found error
  • Loading branch information
joallard authored Aug 26, 2016
2 parents b670b7e + 861127e commit 51cb5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contrib/highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var highlight = function($element, pattern) {
* removeHighlight fn copied from highlight v5 and
* edited to remove with() and pass js strict mode
*/
jQuery.fn.removeHighlight = function() {
$.fn.removeHighlight = function() {
return this.find("span.highlight").each(function() {
this.parentNode.firstChild.nodeName;
var parent = this.parentNode;
Expand Down

0 comments on commit 51cb5c2

Please sign in to comment.