Updated dist
This commit is contained in:
parent
5e06c68e98
commit
feab5d8e18
1 changed files with 4 additions and 2 deletions
6
dist/gridstack.js
vendored
6
dist/gridstack.js
vendored
|
|
@ -762,6 +762,7 @@
|
|||
};
|
||||
|
||||
GridStack.prototype.resizable = function(el, val) {
|
||||
var self = this;
|
||||
el = $(el);
|
||||
el.each(function(index, el) {
|
||||
el = $(el);
|
||||
|
|
@ -771,7 +772,7 @@
|
|||
}
|
||||
|
||||
node.no_resize = !(val || false);
|
||||
if (node.no_resize) {
|
||||
if (node.no_resize || self._is_one_column_mode()) {
|
||||
el.resizable('disable');
|
||||
}
|
||||
else {
|
||||
|
|
@ -782,6 +783,7 @@
|
|||
};
|
||||
|
||||
GridStack.prototype.movable = function(el, val) {
|
||||
var self = this;
|
||||
el = $(el);
|
||||
el.each(function(index, el) {
|
||||
el = $(el);
|
||||
|
|
@ -791,7 +793,7 @@
|
|||
}
|
||||
|
||||
node.no_move = !(val || false);
|
||||
if (node.no_move) {
|
||||
if (node.no_move || self._is_one_column_mode()) {
|
||||
el.draggable('disable');
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue