Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa18c63

Browse files
committed
rebuild dist
1 parent b3d5be1 commit aa18c63

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

dist/gridstack.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,10 +1538,13 @@
15381538
this.grid.commit();
15391539
};
15401540

1541-
GridStack.prototype.setGridWidth = function(gridWidth) {
1541+
GridStack.prototype.setGridWidth = function(gridWidth,doNotPropagate) {
15421542
this.container.removeClass('grid-stack-' + this.opts.width);
1543-
this._updateNodeWidths(this.opts.width, gridWidth);
1543+
if (doNotPropagate !== true) {
1544+
this._updateNodeWidths(this.opts.width, gridWidth);
1545+
}
15441546
this.opts.width = gridWidth;
1547+
this.grid.width = gridWidth;
15451548
this.container.addClass('grid-stack-' + gridWidth);
15461549
};
15471550

0 commit comments

Comments
 (0)