diff --git a/src/gridstack.js b/src/gridstack.js index 39d250a..4932ea7 100644 --- a/src/gridstack.js +++ b/src/gridstack.js @@ -937,9 +937,9 @@ if (typeof maxHeight == 'undefined') { maxHeight = this._styles._max; - this._initStyles(); - this._updateContainerHeight(); } + this._initStyles(); + this._updateContainerHeight(); if (!this.opts.cellHeight) { // The rest will be handled by CSS return ; }