From c05d927c088c1d1eb182a6409f08f2b021f6f752 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Tue, 28 Apr 2015 10:32:56 +0100 Subject: Revert "Temporary fix for tests." This reverts commit ed7533b48f2f0c7cdd0272f9c6c61c44cfc5c463. This was somehow(?) causing the HUD to not be displayed. Need to come back and look at the tests issue. The tests are passing, they just generate an exception. --- content_scripts/vimium_frontend.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'content_scripts') diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 46c993c8..447f7cc1 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -1141,8 +1141,7 @@ HUD = createHudElement: -> element = document.createElement("div") element.className = "vimiumReset vimiumHUD" - # FIXME(smblott) The "?" below is only inserted for the tests. Fix! - document.body?.appendChild(element) + document.body.appendChild(element) element # Hide the HUD. -- cgit v1.2.3