From 1281c904553720de691fc970ce73955aad250750 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 29 Jan 2026 22:47:15 +0000 Subject: [PATCH] Fix dark theme switch - add missing theme scripts to index.php Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com> --- src/templates/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/templates/index.php b/src/templates/index.php index 02539fa..8972c81 100644 --- a/src/templates/index.php +++ b/src/templates/index.php @@ -116,6 +116,8 @@ try { // Scripts $wa->useScript('template.js'); +$wa->useScript('theme-init.js'); +$wa->useScript('darkmode-toggle.js'); /** * VirtueMart detection: