From: Cam Quatman Date: Fri, 21 Mar 2014 18:05:42 +0000 (-0400) Subject: fixed performance issue with top bar on mobile devices when touched with many menu... X-Git-Tag: v5.2.2~88^2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4756%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git fixed performance issue with top bar on mobile devices when touched with many menu itmes --- diff --git a/js/foundation/foundation.topbar.js b/js/foundation/foundation.topbar.js index ac4743af4..cd539bdb3 100644 --- a/js/foundation/foundation.topbar.js +++ b/js/foundation/foundation.topbar.js @@ -232,7 +232,7 @@ return; } - S('[' + self.attr_name() + '] li').removeClass('hover'); + S('[' + self.attr_name() + '] li.hover').removeClass('hover'); }); // Go up a level on Click