forked from Freeboard/freeboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
convert 'col_width' to num before using it as num
The data-sizex will be set directly by value of paneModel.col_width(), and by default paneModel.col_width() is a number string, not number. This will cause issues when gridster plugin trys to caclulate layout, because for example 'string number'+'real number' will return a string with two number string concated, not a number("1" + 3 = "13"), I think this may cause some weird layout issue.
- Loading branch information
Vincent Wang
committed
Apr 18, 2017
1 parent
0042d75
commit 0c39b12
Showing
1 changed file
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters