mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-25 06:55:46 +00:00
@@ -14,7 +14,7 @@ iD.ui.preset.url = function(field) {
|
||||
input.enter().append('input')
|
||||
.attr('type', field.type)
|
||||
.attr('id', 'preset-input-' + field.id)
|
||||
.attr('placeholder', field.placeholder());
|
||||
.attr('placeholder', field.placeholder() || t('inspector.unknown'));
|
||||
|
||||
input
|
||||
.on('blur', change)
|
||||
|
||||
@@ -9,7 +9,7 @@ iD.ui.preset.textarea = function(field) {
|
||||
|
||||
input.enter().append('textarea')
|
||||
.attr('id', 'preset-input-' + field.id)
|
||||
.attr('placeholder', field.placeholder())
|
||||
.attr('placeholder', field.placeholder() || t('inspector.unknown'))
|
||||
.attr('maxlength', 255);
|
||||
|
||||
input
|
||||
|
||||
Reference in New Issue
Block a user