mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge branch 'master' of https://github.com/dustmoo/gridster.js
This commit is contained in:
7
dist/jquery.gridster.js
vendored
7
dist/jquery.gridster.js
vendored
@@ -732,7 +732,8 @@
|
||||
draggable: {
|
||||
distance: 4,
|
||||
items: ".gs_w:not(.static)"
|
||||
}
|
||||
},
|
||||
disable_drag: false
|
||||
};
|
||||
|
||||
|
||||
@@ -807,7 +808,9 @@
|
||||
this.get_widgets_from_DOM();
|
||||
this.set_dom_grid_height();
|
||||
this.$wrapper.addClass('ready');
|
||||
this.draggable();
|
||||
if (!this.options.disable_drag) {
|
||||
this.draggable();
|
||||
}
|
||||
|
||||
$(window).bind(
|
||||
'resize', throttle($.proxy(this.recalculate_faux_grid, this), 200));
|
||||
|
Reference in New Issue
Block a user