diff options
| author | Stephen Blott | 2014-12-30 14:35:19 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2014-12-30 14:35:19 +0000 | 
| commit | a4a591156f451c1d360530fce6674189f384b452 (patch) | |
| tree | 97f34f7e9851597eb8ce86e1373e3d29b946b516 | |
| parent | 7eecaf8e4e4e125abc8d51d17fd447e304a22d45 (diff) | |
| download | vimium-a4a591156f451c1d360530fce6674189f384b452.tar.bz2 | |
Vomnibar; reinstate test on event.data.
Accidentally dropped in 1bc415536fe45ad40ac37282ea54644361ec73f7.
| -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. | 
