aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorStephen Blott2015-03-07 16:05:27 +0000
committerStephen Blott2015-03-07 16:05:27 +0000
commitae60abb94665446200db8a750bbc1362895d04d2 (patch)
tree60b9ae15af8206e1cf040eafcc9891e153df17a6 /content_scripts
parent3e0d5f0538a5db5a170eb35f6ef44f11d4923d42 (diff)
parent3c988a07a64a5bf4cab9ec98fe4d377c2af2208e (diff)
downloadvimium-ae60abb94665446200db8a750bbc1362895d04d2.tar.bz2
Merge branch 'fix-vomnibar-visibility'
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/vomnibar.coffee5
1 files changed, 4 insertions, 1 deletions
diff --git a/content_scripts/vomnibar.coffee b/content_scripts/vomnibar.coffee
index 6381fd7f..c4cfc8b9 100644
--- a/content_scripts/vomnibar.coffee
+++ b/content_scripts/vomnibar.coffee
@@ -38,7 +38,10 @@ Vomnibar =
init: ->
unless @vomnibarUI?
@vomnibarUI = new UIComponent "pages/vomnibar.html", "vomnibarFrame", (event) =>
- @vomnibarUI.hide() if event.data == "hide"
+ if event.data == "hide"
+ @vomnibarUI.hide()
+ @vomnibarUI.postMessage "hidden"
+
# This function opens the vomnibar. It accepts options, a map with the values:
# completer - The completer to fetch results from.