search: fix comments #409

This commit is contained in:
Sören Weber 2024-10-25 18:00:25 +02:00
parent 2574cb8340
commit c84ba71c2c
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
3 changed files with 3 additions and 3 deletions

View file

@ -1 +1 @@
7.1.1+28fce6b04c414523280c53ee02f9f3a94d9d23da
7.1.1+2574cb83408f0b6052262980adb20f291c16edd8

View file

@ -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") {

View file

@ -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 ){