From 63429c16c30a4f563b57608772d22d873b3bcb1c Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Tue, 7 Oct 2025 20:11:29 +0100 Subject: [PATCH] Extract common JS code from spots and alerts JS #17 --- views/webpage_alerts.tpl | 1 + views/webpage_base.tpl | 2 +- views/webpage_spots.tpl | 1 + webassets/js/alerts.js | 119 -------------------------------------- webassets/js/common.js | 120 +++++++++++++++++++++++++++++++++++++++ webassets/js/spots.js | 118 -------------------------------------- 6 files changed, 123 insertions(+), 238 deletions(-) create mode 100644 webassets/js/common.js diff --git a/views/webpage_alerts.tpl b/views/webpage_alerts.tpl index 92901c4..2f24278 100644 --- a/views/webpage_alerts.tpl +++ b/views/webpage_alerts.tpl @@ -42,5 +42,6 @@

+ \ No newline at end of file diff --git a/views/webpage_base.tpl b/views/webpage_base.tpl index a3503a6..3788351 100644 --- a/views/webpage_base.tpl +++ b/views/webpage_base.tpl @@ -73,7 +73,7 @@