From 37f6e37fd7d778938efad8fc1089a5032b981902 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Tue, 11 Nov 2025 16:57:04 +0100 Subject: [PATCH] use existing js var definition --- application/views/components/dxwaterfall.php | 4 ++-- application/views/qso/index.php | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/application/views/components/dxwaterfall.php b/application/views/components/dxwaterfall.php index 6d31e75ba..7ee349960 100644 --- a/application/views/components/dxwaterfall.php +++ b/application/views/components/dxwaterfall.php @@ -56,8 +56,8 @@ var lang_dxwaterfall_spotted_by = ""; // DX Waterfall Configuration from User Options - let dxwaterfall_decont = 'optionslib->get_option('dxcluster_decont'); ?>'; - let dxwaterfall_maxage = 'optionslib->get_option('dxcluster_maxage'); ?>'; + let dxcluster_default_decont = ""; + let dxcluster_default_maxage = ""; // Helper function to safely check if optional field exists window.DX_WATERFALL_HAS_FIELD = function(fieldName) { diff --git a/application/views/qso/index.php b/application/views/qso/index.php index 84aa31c44..8adb0e38c 100644 --- a/application/views/qso/index.php +++ b/application/views/qso/index.php @@ -37,8 +37,6 @@ switch ($date_format) { var lang_invalid_ant_el = ""; var latlng=[]; var user_date_format = ""; // Pass the user's date format to JavaScript - var dxcluster_default_decont = ""; // used in dxwaterfall.js - var dxcluster_default_maxage = ""; // used in dxwaterfall.js