aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorris58h2018-07-03 00:35:26 +0300
committerris58h2018-07-03 00:35:26 +0300
commitcd9721d184cdcee1a77e81746a1203adeae2ff4f (patch)
tree13f6e0b7b7fec72dbd90d5caa0c97b47b9df4829
parent5745bb344959a61297fc16e00bb6de0a2a8744d9 (diff)
downloadvimium-cd9721d184cdcee1a77e81746a1203adeae2ff4f.tar.bz2
Hide Vomnibar in case of click on entire document instead of click on document.body.
-rw-r--r--pages/vomnibar.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/vomnibar.coffee b/pages/vomnibar.coffee
index ca5eb7cc..591fe094 100644
--- a/pages/vomnibar.coffee
+++ b/pages/vomnibar.coffee
@@ -262,7 +262,7 @@ class VomnibarUI
@input.focus()
event.stopImmediatePropagation()
# A click anywhere else hides the vomnibar.
- document.body.addEventListener "click", => @hide()
+ document.addEventListener "click", => @hide()
#
# Sends requests to a Vomnibox completer on the background page.