diff --git a/src/jquery.gridster.js b/src/jquery.gridster.js index 67836c7121..347faf2a4b 100755 --- a/src/jquery.gridster.js +++ b/src/jquery.gridster.js @@ -1203,7 +1203,7 @@ isDOM || ($el = wgd.el); var empty_upper_row = this.can_go_widget_up(wgd); - if (this.shift_widgets_up && empty_upper_row) { + if (this.options.shift_widgets_up && empty_upper_row) { wgd.row = empty_upper_row; $el.attr('data-row', empty_upper_row); this.$el.trigger('gridster:positionchanged', [wgd]); diff --git a/test/amd-main.js b/test/amd-main.js index 3ca59a1586..3fc75213f0 100644 --- a/test/amd-main.js +++ b/test/amd-main.js @@ -7,7 +7,7 @@ require.config({ baseUrl: '../src/', paths: { 'QUnit': '../libs/qunit/qunit/qunit', - 'jquery': '../libs/jquery/jquery', + 'jquery': '../libs/jquery/dist/jquery', 'gridster': 'jquery.gridster' }, map: { diff --git a/test/jquery.gridster.html b/test/jquery.gridster.html index 4d34d4abb6..0cf9d165f1 100644 --- a/test/jquery.gridster.html +++ b/test/jquery.gridster.html @@ -4,7 +4,7 @@