mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 06:58:32 +02:00
Merge pull request #8141 from hotosm/fix/undefined-custom-layer
Fix error when custom background url is empty
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user