1
0
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:
PayBas
2014-05-30 01:40:43 +02:00
parent 140ecf1c98
commit cd90b39a83
2 changed files with 7 additions and 4 deletions

View File

@@ -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);
}
});
/**