mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-16 13:59:27 +02:00
Don't show geocoder when embedded (#1329)
This commit is contained in:
+5
-3
@@ -55,9 +55,11 @@ iD.ui = function(context) {
|
||||
.attr('class', 'map-control zoombuttons')
|
||||
.call(iD.ui.Zoom(context));
|
||||
|
||||
container.append('div')
|
||||
.attr('class', 'map-control geocode-control')
|
||||
.call(iD.ui.Geocoder(context));
|
||||
if (!context.embed()) {
|
||||
container.append('div')
|
||||
.attr('class', 'map-control geocode-control')
|
||||
.call(iD.ui.Geocoder(context));
|
||||
}
|
||||
|
||||
container.append('div')
|
||||
.attr('class', 'map-control background-control')
|
||||
|
||||
Reference in New Issue
Block a user