From f67dd416d1b8f15da8c28f354e7d6da6811c480f Mon Sep 17 00:00:00 2001 From: Eric Allen Date: Fri, 2 Apr 2010 20:21:57 -0400 Subject: [PATCH] Longer timeout for hover in superfish Fixes #898 by keeping the popup there for 400ms before hiding it Thanks, Orlando! --- public/javascripts/hoverIntent.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/javascripts/hoverIntent.js b/public/javascripts/hoverIntent.js index 91da57b2..dd8a9da2 100644 --- a/public/javascripts/hoverIntent.js +++ b/public/javascripts/hoverIntent.js @@ -5,7 +5,7 @@ var cfg = { sensitivity: 7, interval: 100, - timeout: 0 + timeout: 400 }; // override configuration options with user supplied object cfg = $.extend(cfg, g ? { over: f, out: g } : f ); @@ -81,4 +81,4 @@ return this.mouseover(handleHover).mouseout(handleHover); }; -})(jQuery); \ No newline at end of file +})(jQuery);