From c84ba71c2c388858d47ea183a7df3fda7f2c27b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Fri, 25 Oct 2024 18:00:25 +0200 Subject: [PATCH] search: fix comments #409 --- layouts/partials/version.txt | 2 +- static/js/search.js | 2 +- static/js/theme.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/version.txt b/layouts/partials/version.txt index 56a25dcae8..c6668c7344 100644 --- a/layouts/partials/version.txt +++ b/layouts/partials/version.txt @@ -1 +1 @@ -7.1.1+28fce6b04c414523280c53ee02f9f3a94d9d23da \ No newline at end of file +7.1.1+2574cb83408f0b6052262980adb20f291c16edd8 \ No newline at end of file diff --git a/static/js/search.js b/static/js/search.js index bf6feb0444..ed0bdb114f 100644 --- a/static/js/search.js +++ b/static/js/search.js @@ -205,7 +205,7 @@ function initSearch(){ var input = document.querySelector('#R-search-by-detail'); if( input ){ input.addEventListener( 'keydown', function(event) { - // if we are pressing ESC in the search-by-detail our focus will + // if we are pressing ESC in the searchdetail our focus will // be stolen by the other event handlers, so we have to refocus // here after a short while if (event.key == "Escape") { diff --git a/static/js/theme.js b/static/js/theme.js index e5cb1f4b40..e241d2ce91 100644 --- a/static/js/theme.js +++ b/static/js/theme.js @@ -1531,7 +1531,7 @@ function searchInputHandler( value ){ } function initSearch() { - // sync input/escape between searchbox and executeSearch + // sync input/escape between searchbox and searchdetail var inputs = document.querySelectorAll( 'input.search-by' ); inputs.forEach( function( e ){ e.addEventListener( 'keydown', function( event ){