Merge "(bug 34211) Initial focus on Special:Block is nowhere"
[lhc/web/wiklou.git] / includes / specials / SpecialBlock.php
index bbb3213..ac05f67 100644 (file)
@@ -134,6 +134,7 @@ class SpecialBlock extends FormSpecialPage {
                                'tabindex' => '1',
                                'id' => 'mw-bi-target',
                                'size' => '45',
+                               'autofocus' => true,
                                'required' => true,
                                'validation-callback' => array( __CLASS__, 'validateTargetField' ),
                        ),