don't trigger drag events without jquery ui
This commit is contained in:
parent
0a5d67cfc8
commit
94b249c77d
|
@ -1253,7 +1253,7 @@
|
|||
el.each(function(index, el) {
|
||||
el = $(el);
|
||||
var node = el.data('_gridstack_node');
|
||||
if (typeof node == 'undefined' || node === null) {
|
||||
if (self.opts.staticGrid || typeof node == 'undefined' || node === null) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1273,7 +1273,7 @@
|
|||
el.each(function(index, el) {
|
||||
el = $(el);
|
||||
var node = el.data('_gridstack_node');
|
||||
if (typeof node == 'undefined' || node === null) {
|
||||
if (self.opts.staticGrid || typeof node == 'undefined' || node === null) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue