diff --git a/UI/Input/ValidatedTextField.ts b/UI/Input/ValidatedTextField.ts index 7a316a4d9..5952e5551 100644 --- a/UI/Input/ValidatedTextField.ts +++ b/UI/Input/ValidatedTextField.ts @@ -343,7 +343,7 @@ Another example is to search for species and trees: const prefixesUnrwapped: string[] = prefixes[lg] ?? prefixes const postfixesUnwrapped: string[] = postfixes[lg] ?? postfixes let clipped = searchFor; - console.log("Pref", prefixesUnrwapped," post", postfixesUnwrapped) + for (const postfix of postfixesUnwrapped) { if (searchFor.endsWith(postfix)) { clipped = searchFor.substring(0, searchFor.length - postfix.length) diff --git a/assets/themes/postboxes/postboxes.json b/assets/themes/postboxes/postboxes.json index e1e657953..8442d88fe 100644 --- a/assets/themes/postboxes/postboxes.json +++ b/assets/themes/postboxes/postboxes.json @@ -41,7 +41,7 @@ "maxZoom": 14, "minNeededElements": 100 }, - "credits": "nicolelaine" + "credits": "nicolelaine", "layers": [ "postboxes", "postoffices",