update gridstack.js
This commit is contained in:
parent
369722a0c8
commit
0f6ab48b0b
1 changed files with 4 additions and 1 deletions
|
|
@ -685,7 +685,10 @@
|
|||
if (typeof val == 'undefined') {
|
||||
return this.opts.cell_height;
|
||||
}
|
||||
this.opts.cell_height = parseInt(val) || this.opts.cell_height;
|
||||
val = parseInt(val);
|
||||
if (val == this.opts.cell_height)
|
||||
return;
|
||||
this.opts.cell_height = val || this.opts.cell_height;
|
||||
this._update_styles();
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue