From 84b098d22f548a0f03d01538cc0dc654caf85fed Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Sun, 12 Oct 2025 06:41:56 +0000 Subject: [PATCH] fix: improve JavaScript function definitions and add cache-busting - Wrap function definitions in DOMContentLoaded event listener - Add cache-busting meta tags to prevent WebView caching - Add console logging for debugging - Ensure functions are properly attached to window object This should resolve the 'function not defined' JavaScript errors and prevent WebView from using cached HTML files. --- www/index.html | 111 +++++++++++++++++++++++++++---------------------- 1 file changed, 61 insertions(+), 50 deletions(-) diff --git a/www/index.html b/www/index.html index 0298f08..11c7504 100644 --- a/www/index.html +++ b/www/index.html @@ -3,6 +3,9 @@ + + + DailyNotification Plugin Test