X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c9687b102bb6f544a034dc4d508bf0ae4a5fc221..cd6cc1b5b427d45cb4ac431061945d6689718a75:/src/lib/helpers.js
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
+}