Crappy Zero at Distances

This commit is contained in:
int2001
2025-02-05 18:08:44 +00:00
parent cefe74a4f0
commit e001bc3985

View File

@@ -199,3 +199,18 @@ function getDistanceQsos(distance) {
}
});
}
$(document).ready(function(){
var target = document.body;
var observer = new MutationObserver(function() {
$('#dt-search-0').on('keyup', function (e) {
tocrappyzero=$(this).val().toUpperCase().replaceAll(/0/g, 'Ø');
$(this).val(tocrappyzero);
$(this).trigger("input");
});
});
var config = { childList: true, subtree: true};
// pass in the target node, as well as the observer options
observer.observe(target, config);
});