From 3a3fe5bf67b085b2807b7afb2d23083541c4e1b0 Mon Sep 17 00:00:00 2001 From: Phil Crosby Date: Fri, 25 Apr 2014 10:00:24 -0700 Subject: Remove the link hint activation delay Adding 400 ms delay to every click sucks. It's a good UX to see which link you clicked on, but I think the cost is too high. Give this a try and let me know if you think it's too jarring. This is in response to #799. --- content_scripts/link_hints.coffee | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'content_scripts') diff --git a/content_scripts/link_hints.coffee b/content_scripts/link_hints.coffee index ca529b1f..8d102503 100644 --- a/content_scripts/link_hints.coffee +++ b/content_scripts/link_hints.coffee @@ -101,9 +101,7 @@ LinkHints = url: link.href) else # OPEN_IN_CURRENT_TAB HUD.show("Open link in current tab") - # When we're opening the link in the current tab, don't navigate to the selected link immediately - # we want to give the user some time to notice which link has received focus. - @linkActivator = (link) -> setTimeout(DomUtils.simulateClick.bind(DomUtils, link), 400) + @linkActivator = (link) -> DomUtils.simulateClick.bind(DomUtils, link) # # Creates a link marker for the given link. -- cgit v1.2.3