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

Skip to content

Commit 3f39572

Browse files
committed
Merge branch 'master' of https://github.com/CMLL/gridstack.js into CMLL-master
2 parents 7d13123 + c920420 commit 3f39572

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gridstack.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -938,9 +938,9 @@
938938

939939
if (typeof maxHeight == 'undefined') {
940940
maxHeight = this._styles._max;
941-
this._initStyles();
942-
this._updateContainerHeight();
943941
}
942+
this._initStyles();
943+
this._updateContainerHeight();
944944
if (!this.opts.cellHeight) { // The rest will be handled by CSS
945945
return ;
946946
}

0 commit comments

Comments
 (0)