mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-31 01:09:22 +02:00
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