From 1458c24aa31cffdddb429d42511135636b5e870f Mon Sep 17 00:00:00 2001 From: Mischa Date: Tue, 23 Jun 2026 09:36:49 +0200 Subject: [PATCH] fix: remove duplicate inline sort handlers from dailies and stories templates main.js now registers initSortButton for feed-sort-toggle on all pages; inline IIFEs caused double-fire reversing to original order. Co-Authored-By: Claude Sonnet 4.6 Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr --- themes/intotheeast/templates/dailies.html.twig | 17 ----------------- themes/intotheeast/templates/stories.html.twig | 18 ------------------ 2 files changed, 35 deletions(-) diff --git a/themes/intotheeast/templates/dailies.html.twig b/themes/intotheeast/templates/dailies.html.twig index 49cd879..2a91ec4 100644 --- a/themes/intotheeast/templates/dailies.html.twig +++ b/themes/intotheeast/templates/dailies.html.twig @@ -126,21 +126,4 @@ document.querySelectorAll('.journal-photo-wrap').forEach(function (wrap) { } }); - {% endblock %} diff --git a/themes/intotheeast/templates/stories.html.twig b/themes/intotheeast/templates/stories.html.twig index 26b0d5b..afd8df8 100644 --- a/themes/intotheeast/templates/stories.html.twig +++ b/themes/intotheeast/templates/stories.html.twig @@ -74,22 +74,4 @@

No stories yet — check back soon.

{% endif %} - {% endblock %}