slightly optimize onZoom

This commit is contained in:
Azgaar 2022-05-12 23:54:19 +03:00 committed by Peter
parent a06e55d618
commit 929d85a335
5 changed files with 4 additions and 22 deletions

View file

@ -383,7 +383,7 @@ function editBurg(id) {
$(this).dialog("close");
}
}
}
});
}
function changeName() {

View file

@ -203,10 +203,7 @@ function editCoastline(node = d3.event.target) {
$(this).dialog("close");
}
}
groupEl.remove();
document.getElementById('coastlineGroup').selectedOptions[0].remove();
document.getElementById('coastlineGroup').value = 'sea_island';
};
});
confirmationDialog({title: 'Remove coastline group', message, confirm: 'Remove', onConfirm});
}

View file

@ -401,3 +401,4 @@ function editLabel() {
unselect();
}
}
}

View file

@ -235,10 +235,7 @@ function editLake() {
$(this).dialog("close");
}
}
groupEl.remove();
document.getElementById('lakeGroup').selectedOptions[0].remove();
document.getElementById('lakeGroup').value = 'freshwater';
};
});
confirmationDialog({title: 'Remove lake group', message, confirm: 'Remove', onConfirm});
}