diff options
author | Trevor Elliott <trevor@galois.com> | 2013-09-03 10:51:49 -0700 |
---|---|---|
committer | Trevor Elliott <trevor@galois.com> | 2013-09-03 10:51:49 -0700 |
commit | 860bdc583ef67c63380a001280f4600b4a8504cb (patch) | |
tree | decf3e1ece260750140f4baa10c9b741969bbd39 /src/js/fiveui | |
parent | 86d49c07d3d1406bd56352869dae9eaf4d075e27 (diff) |
Force a resize event when the ui is shown
Diffstat (limited to 'src/js/fiveui')
-rw-r--r-- | src/js/fiveui/injected/ui.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/js/fiveui/injected/ui.js b/src/js/fiveui/injected/ui.js index e02d83d..2da4226 100644 --- a/src/js/fiveui/injected/ui.js +++ b/src/js/fiveui/injected/ui.js @@ -95,8 +95,6 @@ this._setupButtons(); this._setupDragDrop(); - // force the resize event - this.height = 0; this._pollResize(); this._registerBackendListeners(); @@ -281,6 +279,7 @@ */ show:function() { this.$el.show(); + this.height = 0; }, /** |