diff options
| -rw-r--r-- | content_scripts/vomnibar.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content_scripts/vomnibar.coffee b/content_scripts/vomnibar.coffee index 0d5197a5..6381fd7f 100644 --- a/content_scripts/vomnibar.coffee +++ b/content_scripts/vomnibar.coffee @@ -37,8 +37,8 @@ Vomnibar = init: -> unless @vomnibarUI? - @vomnibarUI = new UIComponent "pages/vomnibar.html", "vomnibarFrame", => - @vomnibarUI.hide() + @vomnibarUI = new UIComponent "pages/vomnibar.html", "vomnibarFrame", (event) => + @vomnibarUI.hide() if event.data == "hide" # This function opens the vomnibar. It accepts options, a map with the values: # completer - The completer to fetch results from. |
