From: marc tobias Date: Mon, 10 Aug 2020 12:34:31 +0000 (+0200) Subject: missing semicolon X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/commitdiff_plain/39227d69e04802bce7d29ef2360829effaf99c6a missing semicolon --- diff --git a/src/assets/js/controller.js b/src/assets/js/controller.js index 4196151..6795cc6 100644 --- a/src/assets/js/controller.js +++ b/src/assets/js/controller.js @@ -5,7 +5,7 @@ jQuery(document).ready(function () { // 'search', 'reverse', 'details' var pagename = window.location.pathname.replace('.html', '').replace(/.+\//, ''); - if (pagename === '') pagename = 'search' + if (pagename === '') pagename = 'search'; $('body').attr('id', pagename + '-page');