mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-31 20:21:36 +02:00
Merge branch 'master' of github.com:systemed/iD
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 {
|
||||
|
||||
@@ -20,7 +20,7 @@ iD.ui.PresetGrid = function(context) {
|
||||
.attr('class', 'preset-grid-search-wrap inspector-inner');
|
||||
|
||||
var grid = selection.append('div')
|
||||
.attr('class', 'preset-grid fillD inspector-body ' + entity.geometry(context.graph()))
|
||||
.attr('class', 'preset-grid fillD inspector-body inspector-body-' + entity.geometry(context.graph()))
|
||||
.call(drawGrid, context.presets().defaults(entity, 12));
|
||||
|
||||
var search = searchwrap.append('input')
|
||||
|
||||
@@ -38,7 +38,7 @@ iD.ui.TagEditor = function(context) {
|
||||
.text(t('inspector.choose'));
|
||||
|
||||
var editorwrap = selection.append('div')
|
||||
.attr('class', 'tag-wrap inspector-body ' + entity.geometry(context.graph()));
|
||||
.attr('class', 'tag-wrap inspector-body inspector-body-' + entity.geometry(context.graph()));
|
||||
|
||||
var headerwrap = editorwrap.append('div').attr('class','col12 inspector-inner head');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user