Skip to content

Commit

Permalink
Merge pull request #1 from swiperthefox/height-omitted
Browse files Browse the repository at this point in the history
Update py_dom.js
  • Loading branch information
swiperthefox authored Dec 16, 2020
2 parents 0202294 + 708eaa5 commit 8560759
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions www/src/py_dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -1492,6 +1492,7 @@ DOMNode.set_style = function(self, style){ // style is a dict
case "top":
case "left":
case "width":
case "height":
case "borderWidth":
if(_b_.isinstance(value,_b_.int)){value = value + "px"}
}
Expand Down

0 comments on commit 8560759

Please sign in to comment.