aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2015-04-28 10:32:56 +0100
committerStephen Blott2015-04-28 10:33:15 +0100
commitc05d927c088c1d1eb182a6409f08f2b021f6f752 (patch)
tree9ad3699a8ce22e9c3be13fdfbccf4e1dd3d3f29f
parent03c5b0839e0b6ccc1d243fe1cafafda6221c7f37 (diff)
downloadvimium-c05d927c088c1d1eb182a6409f08f2b021f6f752.tar.bz2
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.
-rw-r--r--content_scripts/vimium_frontend.coffee3
1 files changed, 1 insertions, 2 deletions
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.