From: XhmikosR Date: Mon, 9 Nov 2020 18:39:56 +0000 (+0200) Subject: search.js: use the current v5.getbootstrap.com URL (#32099) X-Git-Tag: v5.0.0-alpha3~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e347441f8834636bb7bf10c8078689ccc4308756;p=thirdparty%2Fbootstrap.git search.js: use the current v5.getbootstrap.com URL (#32099) --- diff --git a/site/assets/js/search.js b/site/assets/js/search.js index 823dcb10a7..2cf4c87878 100644 --- a/site/assets/js/search.js +++ b/site/assets/js/search.js @@ -42,7 +42,7 @@ transformData: function (hits) { return hits.map(function (hit) { var currentUrl = getOrigin() - var liveUrl = 'https://getbootstrap.com/' + var liveUrl = 'https://v5.getbootstrap.com/' hit.url = currentUrl.lastIndexOf(liveUrl, 0) === 0 ? // On production, return the result as is