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

@ -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});
}