aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2016-04-16 14:37:05 +0100
committerStephen Blott2016-04-16 14:37:05 +0100
commitb94caa42ec2433ec61132be30bec2fbe0bd22aa5 (patch)
tree26b04b2dbcfbd894c3c58002ec6aebd13a297c45
parentf3aba1914dc645d4de15ff6e6a9104dcb99018ee (diff)
downloadvimium-b94caa42ec2433ec61132be30bec2fbe0bd22aa5.tar.bz2
We cannot wait for nextTick() here...
It interferes with the HUD's timing.
-rw-r--r--content_scripts/ui_component.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/ui_component.coffee b/content_scripts/ui_component.coffee
index bb350ccc..675b46c7 100644
--- a/content_scripts/ui_component.coffee
+++ b/content_scripts/ui_component.coffee
@@ -96,7 +96,7 @@ class UIComponent
window.focus()
@options = null
# Inform the UI component that it is hidden.
- Utils.nextTick => @postMessage "hidden"
+ @postMessage "hidden"
# Fetch a Vimium file/resource (such as "content_scripts/vimium.css").
# We try making an XMLHttpRequest request. That can fail (see #1817), in which case we fetch the