mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
Fix distracting typo
This commit is contained in:
@@ -167,7 +167,7 @@ export function utilSetTransform(el, x, y, scale) {
|
||||
|
||||
// Calculates Levenshtein distance between two strings
|
||||
// see: https://en.wikipedia.org/wiki/Levenshtein_distance
|
||||
// first converts the strings to lowercase and replaces diacritic marks with ascii equilivants.
|
||||
// first converts the strings to lowercase and replaces diacritic marks with ascii equivalents.
|
||||
export function utilEditDistance(a, b) {
|
||||
a = removeDiacritics(a.toLowerCase());
|
||||
b = removeDiacritics(b.toLowerCase());
|
||||
|
||||
Reference in New Issue
Block a user