]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fixed performance issue with top bar on mobile devices when touched with many menu... 4756/head
authorCam Quatman <cquatman@digitalschoolnetwork.com>
Fri, 21 Mar 2014 18:05:42 +0000 (14:05 -0400)
committerCam Quatman <cquatman@digitalschoolnetwork.com>
Fri, 21 Mar 2014 18:05:42 +0000 (14:05 -0400)
js/foundation/foundation.topbar.js

index ac4743af45e64b89fe725c9e6ec29b0f831b33b6..cd539bdb38ba7fd1090ffe2e8f990d70735c4be6 100644 (file)
           return;
         }
 
-        S('[' + self.attr_name() + '] li').removeClass('hover');
+        S('[' + self.attr_name() + '] li.hover').removeClass('hover');
       });
 
       // Go up a level on Click