aboutsummaryrefslogtreecommitdiffstats
path: root/pages
diff options
context:
space:
mode:
authormrmr19932014-09-02 17:43:41 +0100
committermrmr19932014-10-31 07:22:12 +0000
commitd65f265a6ad137be0db4d8c86879e5123a10087b (patch)
tree7be59d25dd26f8d1b5d2641ce76bfbd631cae28b /pages
parentfdf592b25ead4c4ec919c1d0e6322d2dba48c1f8 (diff)
downloadvimium-d65f265a6ad137be0db4d8c86879e5123a10087b.tar.bz2
Add comments about moving the Vomnibar to an iframe
Diffstat (limited to 'pages')
-rw-r--r--pages/vomnibar.coffee5
1 files changed, 5 insertions, 0 deletions
diff --git a/pages/vomnibar.coffee b/pages/vomnibar.coffee
index 2e51082a..81401623 100644
--- a/pages/vomnibar.coffee
+++ b/pages/vomnibar.coffee
@@ -1,3 +1,8 @@
+#
+# This controls the contents of the Vomnibar iframe. We use an iframe to avoid changing the selection on the
+# page (useful for bookmarklets), ensure that the Vomnibar style is unaffected by the page, and simplify key
+# handling in vimium_frontend.coffee
+#
Vomnibar =
vomnibarUI: null # the dialog instance for this window
completers: {}