From: danbrellis Date: Mon, 3 Apr 2017 14:48:25 +0000 (-0400) Subject: Set toggle button "title" to submenuToggleText X-Git-Tag: v6.4.0-rc1~25^2~4^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9926%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Set toggle button "title" to submenuToggleText When a user hovers over the toggle button, there should be a title attribute to indicate what will happen if they click the button. Adds a "title" attribute to the toggle button set to "_this.options.submenuToggleText" --- diff --git a/js/foundation.accordionMenu.js b/js/foundation.accordionMenu.js index 06ffe3719..699810634 100644 --- a/js/foundation.accordionMenu.js +++ b/js/foundation.accordionMenu.js @@ -64,7 +64,7 @@ class AccordionMenu { if(_this.options.submenuToggle) { $elem.addClass('has-submenu-toggle'); - $elem.children('a').after(''); + $elem.children('a').after(''); } else { $elem.attr({ 'aria-controls': subId,