fix formatting

This commit is contained in:
GoteGuru 2022-05-18 23:01:48 +02:00
parent 0d71f10f05
commit 70e7adb5d0

View file

@ -164,12 +164,8 @@ async function getMapURL(type, options = {}) {
clone.select("#oceanBase").attr("opacity", 0);
clone.select("#oceanPattern").attr("opacity", 0);
}
if (noScaleBar) {
clone.select("#scaleBar")?.remove()
}
if (noIce) {
clone.select("#ice")?.remove()
}
if (noScaleBar) clone.select("#scaleBar")?.remove();
if (noIce) clone.select("#ice")?.remove();
if (fullMap) {
// reset transform to show the whole map
clone.attr("width", graphWidth).attr("height", graphHeight);