From 5e8a4f1a1a4ac705ff732ce784b64bd46d3924bc Mon Sep 17 00:00:00 2001 From: danbrellis Date: Mon, 3 Apr 2017 10:48:25 -0400 Subject: [PATCH] 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" --- js/foundation.accordionMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.47.2