mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-01 04:31:36 +02:00
Fix the seemingly safe spellings found by codespell
Untested, only checked by inspection.
(cherry picked from commit 2c47a11008)
This commit is contained in:
@@ -304,7 +304,7 @@ export function uiFieldLocalized(field, context) {
|
||||
}
|
||||
|
||||
// Remove whatever is after the last ' – '
|
||||
// NOTE: split/join on en-dash, not a hypen (to avoid conflict with fr - nl names in Brussels etc)
|
||||
// NOTE: split/join on en-dash, not a hyphen (to avoid conflict with fr - nl names in Brussels etc)
|
||||
function cleanName(name) {
|
||||
var parts = name.split(' – ');
|
||||
if (parts.length > 1) {
|
||||
|
||||
Reference in New Issue
Block a user