mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 18:54:08 +02:00
[ticket/12613] Removed jump-to placeholder and added .focus() check
PHPBB3-12613
This commit is contained in:
@@ -361,9 +361,12 @@ function parse_document(container)
|
||||
});
|
||||
|
||||
container.find('.pagination-trigger').click(function() {
|
||||
$input = $(this).parent().find("input[name='page-number']");
|
||||
|
||||
setTimeout(function() { $input.focus(); },100);
|
||||
$container = $(this).parent();
|
||||
|
||||
if (!$container.hasClass('dropdown-visible')) {
|
||||
$input = $container.find("input[name='page-number']");
|
||||
setTimeout(function() { $input.focus(); },100);
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user