use existing js var definition

This commit is contained in:
HB9HIL
2025-11-11 16:57:04 +01:00
parent 08626fe094
commit 37f6e37fd7
2 changed files with 2 additions and 4 deletions

View File

@@ -56,8 +56,8 @@
var lang_dxwaterfall_spotted_by = "<?= __("by:"); ?>";
// DX Waterfall Configuration from User Options
let dxwaterfall_decont = '<?php echo $this->optionslib->get_option('dxcluster_decont'); ?>';
let dxwaterfall_maxage = '<?php echo $this->optionslib->get_option('dxcluster_maxage'); ?>';
let dxcluster_default_decont = "<?php echo $dxcluster_default_decont; ?>";
let dxcluster_default_maxage = "<?php echo $dxcluster_default_maxage; ?>";
// Helper function to safely check if optional field exists
window.DX_WATERFALL_HAS_FIELD = function(fieldName) {