Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix undeclared var

  • Loading branch information...
commit d20396520c7a2f0a982649529a594d28671ffa1b 1 parent adb0ddf
@jtsternberg jtsternberg authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/cmb.js
View
4 js/cmb.js
@@ -198,9 +198,9 @@
.on( 'click', '.add-row-button', function(e) {
e.preventDefault();
- self = $(this);
+ var $self = $(this);
- var tableselector = '#'+ self.data('selector');
+ var tableselector = '#'+ $self.data('selector');
var $table = $(tableselector);
var row = $('.empty-row', $table).clone(true);
row.removeClass('empty-row').addClass('repeat-row');
Please sign in to comment.
Something went wrong with that request. Please try again.