mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-17 14:23:38 +02:00
Display name fix
This commit is contained in:
@@ -32,7 +32,7 @@ iD.ui.geocoder = function() {
|
||||
})
|
||||
.append('a')
|
||||
.text(function(d) {
|
||||
if (d.display_name > 80) {
|
||||
if (d.display_name.length > 80) {
|
||||
return d.display_name.substr(0, 80) + '…';
|
||||
} else {
|
||||
return d.display_name;
|
||||
|
||||
Reference in New Issue
Block a user