We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e06c68 commit feab5d8Copy full SHA for feab5d8
dist/gridstack.js
@@ -762,6 +762,7 @@
762
};
763
764
GridStack.prototype.resizable = function(el, val) {
765
+ var self = this;
766
el = $(el);
767
el.each(function(index, el) {
768
@@ -771,7 +772,7 @@
771
772
}
773
774
node.no_resize = !(val || false);
- if (node.no_resize) {
775
+ if (node.no_resize || self._is_one_column_mode()) {
776
el.resizable('disable');
777
778
else {
@@ -782,6 +783,7 @@
782
783
784
785
GridStack.prototype.movable = function(el, val) {
786
787
788
789
@@ -791,7 +793,7 @@
791
793
792
794
795
node.no_move = !(val || false);
- if (node.no_move) {
796
+ if (node.no_move || self._is_one_column_mode()) {
797
el.draggable('disable');
798
799
0 commit comments