Skip to content

Commit

Permalink
Fixed jQuery bug where $ was used instead of jQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
lindell committed May 18, 2016
1 parent 853191e commit 1a4d532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JsBarcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ if(typeof window !== "undefined"){
if (typeof jQuery !== 'undefined') {
jQuery.fn.JsBarcode = function(content, options){
var elementArray = [];
$(this).each(function() {
jQuery(this).each(function() {
elementArray.push(this);
});
return JsBarcode(elementArray, content, options);
Expand Down

0 comments on commit 1a4d532

Please sign in to comment.