Small usability improvement
authorMarcel Werk <burntime@woltlab.com>
Fri, 22 Jul 2016 21:31:24 +0000 (23:31 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 22 Jul 2016 21:31:24 +0000 (23:31 +0200)
wcfsetup/install/files/js/WoltLab/WCF/Ui/Page/JumpTo.js

index fa61bc7f7785c4fd0610a2159a5ebee0753027fd..f1a024aebec66ed252d18e3a8bd9d818fb5c45c5 100644 (file)
@@ -69,6 +69,7 @@ define(['Language', 'ObjectMap', 'Ui/Dialog'], function(Language, ObjectMap, UiD
                        var pages = elData(element, 'pages');
                        _input.value = pages;
                        _input.setAttribute('max', pages);
+                       _input.select();
                        
                        _description.textContent = Language.get('wcf.page.jumpTo.description').replace(/#pages#/, pages);
                },