mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-29 07:06:04 +02:00
Open imagery attribution in new window
This commit is contained in:
@@ -99,6 +99,7 @@ iD.ui.LayerSwitcher = function(context) {
|
||||
if (d.data.terms_url) {
|
||||
provided_by.append('a')
|
||||
.attr('href', (d.data.terms_url || ''))
|
||||
.attr('target', '_blank')
|
||||
.classed('disabled', !d.data.terms_url)
|
||||
.text(' provided by ' + (d.data.sourcetag || d.data.name));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user