Skip to content

Commit

Permalink
Merge pull request #33 from Grawl/patch-1
Browse files Browse the repository at this point in the history
define $this variable
  • Loading branch information
brunjo authored Sep 5, 2017
2 parents ed7f75e + 3e57652 commit 91088c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery.row-grid.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(function($){
$.fn.rowGrid = function( options ) {
return this.each(function() {
$this = $(this);
var $this = $(this);
if(options === 'appended') {
options = $this.data('grid-options');
var $lastRow = $this.children('.' + options.lastRowClass);
Expand Down Expand Up @@ -130,4 +130,4 @@
}
}
}
})(jQuery);
})(jQuery);

0 comments on commit 91088c4

Please sign in to comment.