Skip to content

Commit

Permalink
expanded issue for subtoggles
Browse files Browse the repository at this point in the history
  • Loading branch information
robinpoort committed Aug 28, 2020
1 parent f0700aa commit 838981c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vanilla.js.responsive.menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
var parent = parents[i].parentNode;
parent.insertBefore(subtoggle_element, parent.firstChild);
subtoggle_element.innerHTML = settings.subtogglecontent;
subtoggle_element.setAttribute('aria-expanded', 'true');
subtoggle_element.setAttribute('aria-expanded', 'false');
subtoggle_element.setAttribute('aria-pressed', 'false');
subtoggle_element.setAttribute('type', 'button');
apollo.addClass(parents[i].parentNode, settings.parentclass);
Expand Down

0 comments on commit 838981c

Please sign in to comment.