mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-19 07:00:14 +01:00
Merge pull request #5750 from mrgoldy/ticket/12539
[ticket/12539] Rebind live member search navigation
This commit is contained in:
commit
3986273fdb
@ -740,6 +740,8 @@ phpbb.search.closeResults = function($input, $container) {
|
||||
phpbb.search.navigateResults = function($input, $container, $resultContainer) {
|
||||
// Add a namespace to the event (.phpbb.search),
|
||||
// so it can be unbound specifically later on.
|
||||
// Rebind it, to ensure the event is 'dynamic'.
|
||||
$input.off('.phpbb.search');
|
||||
$input.on('keydown.phpbb.search', function(event) {
|
||||
var key = event.keyCode || event.which,
|
||||
$active = $resultContainer.children('.active');
|
||||
|
Loading…
x
Reference in New Issue
Block a user