Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wibjorn committed Nov 27, 2023
1 parent e9a6122 commit 2bee5fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/src/scaffold/scripts/layout-page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ export function initLayoutPageControls() {

const setThemeButtons = Array.from(document.querySelectorAll('[data-set-layout]'));
for (const button of setThemeButtons) {
button.setAttribute('aria-selected', 'false');
button.setAttribute('aria-pressed', 'false');
}
target.setAttribute('aria-selected', 'true');
target.setAttribute('aria-pressed', 'true');
});

window.addEventListener('click', (e: MouseEvent) => {
Expand Down

0 comments on commit 2bee5fb

Please sign in to comment.