Merge pull request #8141 from hotosm/fix/undefined-custom-layer

Fix error when custom background url is empty
This commit is contained in:
Quincy Morgan
2020-10-30 09:26:29 -04:00
committed by GitHub
+1 -1
View File
@@ -266,7 +266,7 @@ export function uiSectionBackgroundList(context) {
function editCustom(d3_event) {
d3_event.preventDefault();
if (d3_event !== undefined) d3_event.preventDefault();
context.container()
.call(_settingsCustomBackground);
}