Changeset 1c6d61c in Klonkt for src/views/shell.ejs
- Timestamp:
- 06/20/2026 08:19:11 AM (3 months ago)
- Branches:
- main
- Children:
- cf0de0c
- Parents:
- 4dcefa1
- File:
-
- 1 edited
-
src/views/shell.ejs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/views/shell.ejs
r4dcefa1 r1c6d61c 384 384 385 385 function syncAria() { 386 // Alleen op een feed-pagina hoort Tijdlijn/Grid 'actief' (wit) te zijn; op 387 // agenda/downloads/post/etc. beide grijs. Inline feed-check (FEED_PAGE_CLASSES 388 // staat verderop, maar deze functie draait al bij init). 389 var _feedC = ['on-home','on-tag','on-type','on-user','on-cirkel']; 390 var _onFeed = _feedC.some(function(c){ return body.classList.contains(c); }); 386 391 document.querySelectorAll('.view-switch-btn').forEach(function(b) { 387 b.setAttribute('aria-selected', b.dataset.view === body.dataset.feedView? 'true' : 'false');392 b.setAttribute('aria-selected', (_onFeed && b.dataset.view === body.dataset.feedView) ? 'true' : 'false'); 388 393 }); 389 394 document.querySelectorAll('.grid-cols-btn').forEach(function(b) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)