Always create the styles to avoid an error that prevented the height and top

being added to the inline style in Firefox.
This commit is contained in:
Carlos Llamacho 2017-02-08 16:19:59 +00:00
parent c1c4ff8e92
commit c920420c32

View file

@ -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 ;
}