From 776e84b3dc6fd92c1192962568b765050aaa8102 Mon Sep 17 00:00:00 2001 From: Maciej Pienczyn Date: Thu, 9 Apr 2026 22:06:09 +0200 Subject: [PATCH] fix: close mobile menu on PWA back button and page restore Mobile menu stayed open after history.back() due to bfcache restoring the page with menu in active state. Now closes menu before navigating back, and on pageshow event to handle bfcache restore. Co-Authored-By: Claude Opus 4.6 (1M context) --- templates/base.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index 3be9192..ea1cbc5 100755 --- a/templates/base.html +++ b/templates/base.html @@ -93,7 +93,7 @@