indicate if menu has been expanded
This commit is contained in:
parent
607612a1d9
commit
79f7c55a04
2 changed files with 5 additions and 1 deletions
|
@ -50,6 +50,10 @@ function tabChange(e, nested) {
|
|||
target.className = 'is-active';
|
||||
}
|
||||
|
||||
function toggleMenu(el) {
|
||||
el.setAttribute('aria-expanded', el.getAttribute('aria-expanded') == 'false');
|
||||
}
|
||||
|
||||
function ajaxPost(form) {
|
||||
fetch(form.action, {
|
||||
method : "POST",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue