Commit 93523a55 authored by adumesny's avatar adumesny
Browse files

fixed cellHeight() check for no-op return

the code that checked for cell height and unit being the same was incorrect.

Testing Done:  calling this should be no-op, but wasn't
this.grid.cellHeight( this.grid.cellHeight() );
parent 10e141ed
...@@ -1610,7 +1610,7 @@ ...@@ -1610,7 +1610,7 @@
} }
var heightData = Utils.parseHeight(val); var heightData = Utils.parseHeight(val);
if (this.opts.cellHeightUnit === heightData.heightUnit && this.opts.height === heightData.height) { if (this.opts.cellHeightUnit === heightData.unit && this.opts.cellHeight === heightData.height) {
return ; return ;
} }
this.opts.cellHeightUnit = heightData.unit; this.opts.cellHeightUnit = heightData.unit;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment