aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Trevor Elliott <trevor@galois.com>2013-09-03 10:51:49 -0700
committerGravatar Trevor Elliott <trevor@galois.com>2013-09-03 10:51:49 -0700
commit860bdc583ef67c63380a001280f4600b4a8504cb (patch)
treedecf3e1ece260750140f4baa10c9b741969bbd39
parent86d49c07d3d1406bd56352869dae9eaf4d075e27 (diff)
Force a resize event when the ui is shown
-rw-r--r--src/js/fiveui/injected/ui.js3
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;
},
/**