replace pretty zeros in searchbar

This commit is contained in:
HB9HIL
2024-11-06 22:41:01 +01:00
parent a47ec16786
commit 74daaafbae

View File

@@ -173,6 +173,13 @@ if($this->session->userdata('user_id') != null) {
<?php } ?>
<!-- SPECIAL CALLSIGN OPERATOR FEATURE END -->
<script>
// Replace all Ø in the searchbar
$('#nav-bar-search-input').on('input', function () {
$(this).val($(this).val().replace(/0/g, 'Ø'));
});
</script>
<script>
var current_active_location = "<?php echo $this->stations->find_active(); ?>";
quickswitcher_show_activebadge(current_active_location);