From 6073cafed845cd31f88c5b51aafacc44278245fb Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Tue, 28 Apr 2015 10:46:23 +0100 Subject: Temporary fix for tests. The tests are passing, but they are triggering an exception in the initialization of the HUD. It's proving difficult to get the initialization in the right order for both the tests and live. This is a temporary fix... --- content_scripts/vimium_frontend.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content_scripts') diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 447f7cc1..a21beb27 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -232,7 +232,7 @@ window.installListeners = -> installedListeners = true # Other one-time initialization operations. FindModeHistory.init() - new GrabBackFocus if isEnabledForUrl + new GrabBackFocus if isEnabledForUrl and not runningDOMTests # # Whenever we get the focus: -- cgit v1.2.3