Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c047153

Browse files
committed
updated dist
1 parent d78bd25 commit c047153

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dist/jquery.gridster.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -671,10 +671,10 @@
671671

672672

673673
//jQuery adapter
674-
$.fn.draggable = function ( options ) {
674+
$.fn.drag = function ( options ) {
675675
return this.each(function () {
676-
if (!$.data(this, 'draggable')) {
677-
$.data(this, 'draggable', new Draggable( this, options ));
676+
if (!$.data(this, 'drag')) {
677+
$.data(this, 'drag', new Draggable( this, options ));
678678
}
679679
});
680680
};
@@ -1087,7 +1087,7 @@
10871087
}, 60)
10881088
});
10891089

1090-
this.drag_api = this.$el.draggable(draggable_options).data('draggable');
1090+
this.drag_api = this.$el.drag(draggable_options).data('draggable');
10911091
return this;
10921092
};
10931093

0 commit comments

Comments
 (0)