https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24510 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #3 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- What is the purpose of the test? if ( $(".focus").is(":visible") ) I do not understand your patch, neither why it works. I have the feeling that it is not the correct way to do what you want. We already have .focus in this DOM (the header search), and the same .focus() applied on them (in staff-global.js). -- You are receiving this mail because: You are watching all bug changes.