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

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