mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 00:25:06 +02:00
drag/touch: don't prevent default when start dragging in touch device
This commit is contained in:
@@ -74,12 +74,12 @@
|
||||
this.disabled = false;
|
||||
this.events();
|
||||
|
||||
$(window).bind('resize.gridster-draggable',
|
||||
$(window).bind('resize.gridster-draggable',
|
||||
throttle($.proxy(this.calculate_positions, this), 200));
|
||||
};
|
||||
|
||||
fn.events = function() {
|
||||
this.$container.on('selectstart.gridster-draggable',
|
||||
this.$container.on('selectstart.gridster-draggable',
|
||||
$.proxy(this.on_select_start, this));
|
||||
|
||||
this.$container.on(pointer_events.start, this.options.items,
|
||||
@@ -224,7 +224,7 @@
|
||||
return false;
|
||||
});
|
||||
|
||||
return false;
|
||||
if (!isTouch) { return false; }
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user