From 860bdc583ef67c63380a001280f4600b4a8504cb Mon Sep 17 00:00:00 2001 From: Trevor Elliott Date: Tue, 3 Sep 2013 10:51:49 -0700 Subject: Force a resize event when the ui is shown --- src/js/fiveui/injected/ui.js | 3 +-- 1 file changed, 1 insertion(+), 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; }, /** -- cgit v1.2.3