aboutsummaryrefslogtreecommitdiffstats
path: root/completionDialog.js
diff options
context:
space:
mode:
authorPhil Crosby2011-11-26 17:58:57 -0800
committerPhil Crosby2011-11-26 17:58:57 -0800
commitd3c8e64b312053472b007af6782b964c41045c8e (patch)
tree6e7f72da2ec9a312c38c0f77e3c904ef2930d423 /completionDialog.js
parent96ea4c37a803e6336576ada46d25ab1be8390d15 (diff)
parentfde3ec31b85132323e5b463741baeaf295c23341 (diff)
downloadvimium-d3c8e64b312053472b007af6782b964c41045c8e.tar.bz2
Merge pull request #413 from has2k1/invisible-dialog-fix
Bugfix: Really hide bookmark dialog
Diffstat (limited to 'completionDialog.js')
-rw-r--r--completionDialog.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/completionDialog.js b/completionDialog.js
index ff1991aa..2148de48 100644
--- a/completionDialog.js
+++ b/completionDialog.js
@@ -16,6 +16,7 @@
handlerStack.push({ keydown: this.onKeydown });
render.call(this);
clearInterval(this._tweenId);
+ this.container.style.display = "";
this._tweenId = Tween.fade(this.container, 1.0, 150);
}
},
@@ -25,7 +26,11 @@
this.isShown=false;
this.currentSelection=0;
clearInterval(this._tweenId);
- this._tweenId = Tween.fade(this.container, 0, 150);
+ var completionContainer = this.container;
+ var cssHide = function() {
+ completionContainer.style.display = "none";
+ }
+ this._tweenId = Tween.fade(this.container, 0, 150, cssHide);
}
},
getDisplayElement: function() {