diff --git a/application/models/Dxcluster_model.php b/application/models/Dxcluster_model.php index 6dbee924..9d66e2f9 100644 --- a/application/models/Dxcluster_model.php +++ b/application/models/Dxcluster_model.php @@ -89,7 +89,7 @@ class Dxcluster_model extends CI_Model { // CURL Functions $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $dxcache_url); - curl_setopt($ch, CURLOPT_USERAGENT, 'Cloudlog '.$this->optionslib->get_option('version').'DXLookup by QRG'); + curl_setopt($ch, CURLOPT_USERAGENT, 'Cloudlog '.$this->optionslib->get_option('version').' DXLookup by QRG'); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $jsonraw = curl_exec($ch); diff --git a/assets/js/sections/bandmap_list.js b/assets/js/sections/bandmap_list.js index 1e7e8fba..1fac4c00 100644 --- a/assets/js/sections/bandmap_list.js +++ b/assets/js/sections/bandmap_list.js @@ -66,7 +66,7 @@ $(function() { } }); if (!update) { // Sth. Fresh? So highlight - table.rows.add(data).draw().nodes().to$().addClass("fresh bg-info"); + table.rows.add(data).draw().nodes().to$().addClass("fresh table-info"); } else { table.rows.add(data).draw(); } @@ -94,9 +94,11 @@ $(function() { if (distance<=20) { distance++; alpha=(.5/distance); - this.nodes().to$().css('background-color', 'rgba(0,0,255,' + alpha + ')'); + this.nodes().to$().css('--bs-table-bg', 'rgba(0,0,255,' + alpha + ')'); + this.nodes().to$().css('--bs-table-accent-bg', 'rgba(0,0,255,' + alpha + ')'); } else { - this.nodes().to$().css('background-color', ''); + this.nodes().to$().css('--bs-table-bg', ''); + this.nodes().to$().css('--bs-table-accent-bg', ''); } }); }