X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c424aac99457ff4560a840bf618c902ba4357b6f..be21c9e08c73807abfcfab5455400ae375e81726:/dist/handlebar_helpers.js diff --git a/dist/handlebar_helpers.js b/dist/handlebar_helpers.js index 7af3384..de8778b 100644 --- a/dist/handlebar_helpers.js +++ b/dist/handlebar_helpers.js @@ -14,6 +14,9 @@ function formatOSMType(sType, bExcludeExternal) { } Handlebars.registerHelper({ + formatOSMType: function (sType, bExcludeExternal) { + return formatOSMType(sType, bExcludeExternal); + }, shortOSMType: function (sType) { if (sType === 'node') return 'N'; if (sType === 'way') return 'W'; @@ -131,7 +134,7 @@ Handlebars.registerHelper({ }, formatSearchRank: function (iRank) { // same as - // https://github.com/openstreetmap/Nominatim/blob/master/sql/functions.sql + // https://github.com/osm-search/Nominatim/blob/master/sql/functions.sql // get_searchrank_label() if (iRank < 2) return 'continent';