X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/76e3136f32e35ded2caf989b0bf699de64798921..c636646759d9c541f7baf19812be18d002a8ce1d:/src/lib/helpers.js?ds=inline
diff --git a/src/lib/helpers.js b/src/lib/helpers.js
index 2dfb186..e55cbf0 100644
--- a/src/lib/helpers.js
+++ b/src/lib/helpers.js
@@ -40,7 +40,7 @@ function osmLink(aPlace) {
var sOSMType = formatOSMType(aPlace.osm_type, false);
if (!sOSMType) return '';
- return '' + sOSMType + ' ' + aPlace.osm_id + ''
+ return '' + sOSMType + ' ' + aPlace.osm_id + '';
}
function formatLabel(aPlace) {
@@ -73,12 +73,12 @@ function detailsURL(aFeature) {
if (aFeature.class) {
sURL = sURL + '&class=' + encodeURIComponent(aFeature.class);
} else if (aFeature.category) {
- sURL = sURL + '&class=' +encodeURIComponent(aFeature.category);
+ sURL = sURL + '&class=' + encodeURIComponent(aFeature.category);
}
return sURL;
}
- /* en:London_Borough_of_Redbridge => https://en.wikipedia.org/wiki/London_Borough_of_Redbridge */
+/* en:London_Borough_of_Redbridge => https://en.wikipedia.org/wiki/London_Borough_of_Redbridge */
function wikipediaLink(aPlace) {
if (!aPlace.calculated_wikipedia) return '';
@@ -180,5 +180,4 @@ function zoomLevels() {
/* 21 */ ''
];
return aZoomLevels;
-
-}
\ No newline at end of file
+}