kopia lustrzana https://github.com/magicbug/Cloudlog
In QSO logging, don't refresh callsign data if it's not changed
commit
e90cf25edc
|
@ -1,3 +1,5 @@
|
|||
var lastCallsignUpdated=""
|
||||
|
||||
$( document ).ready(function() {
|
||||
setTimeout(function() {
|
||||
var callsignValue = localStorage.getItem("quicklogCallsign");
|
||||
|
@ -540,10 +542,14 @@ function resetTimers(manual) {
|
|||
}
|
||||
|
||||
$("#callsign").focusout(function() {
|
||||
if ($(this).val().length >= 3) {
|
||||
// Temp store the callsign
|
||||
var temp_callsign = $(this).val();
|
||||
if (temp_callsign == lastCallsignUpdated) {
|
||||
return;
|
||||
}
|
||||
lastCallsignUpdated = temp_callsign;
|
||||
|
||||
// Temp store the callsign
|
||||
var temp_callsign = $(this).val();
|
||||
if ($(this).val().length >= 3) {
|
||||
|
||||
/* Find and populate DXCC */
|
||||
$('.callsign-suggest').hide();
|
||||
|
|
Ładowanie…
Reference in New Issue