aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStephen Blott2016-03-06 11:29:26 +0000
committerStephen Blott2016-03-06 11:29:26 +0000
commit577d43cbc861ef546f8330ebe9ad79c4054a1cfd (patch)
tree51eddeb78dced1e74524237ac58a7e2d45b2f31a /tests
parent18d8c9043f8651a94885831c799e3fda7a8b1dc0 (diff)
parenta8cd9d5b66f9fd6d46f453e50672611538c801f2 (diff)
downloadvimium-577d43cbc861ef546f8330ebe9ad79c4054a1cfd.tar.bz2
Merge pull request #2033 from smblott-github/init-ui-components-only-when-enabled
Do not initialise UI components when disabled.
Diffstat (limited to 'tests')
-rw-r--r--tests/dom_tests/dom_tests.coffee1
-rw-r--r--tests/dom_tests/vomnibar_test.coffee1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/dom_tests/dom_tests.coffee b/tests/dom_tests/dom_tests.coffee
index 0745e5b2..3797a37b 100644
--- a/tests/dom_tests/dom_tests.coffee
+++ b/tests/dom_tests/dom_tests.coffee
@@ -1,6 +1,7 @@
# Install frontend event handlers.
installListeners()
+HUD.init()
installListener = (element, event, callback) ->
element.addEventListener event, (-> callback.apply(this, arguments)), true
diff --git a/tests/dom_tests/vomnibar_test.coffee b/tests/dom_tests/vomnibar_test.coffee
index 3eda6234..0898e33a 100644
--- a/tests/dom_tests/vomnibar_test.coffee
+++ b/tests/dom_tests/vomnibar_test.coffee
@@ -1,5 +1,6 @@
vomnibarFrame = null
SearchEngines.refresh ""
+Vomnibar.init()
context "Keep selection within bounds",