Skip to content

Commit 8a8e8c2

Browse files
windymillacpeel
authored andcommitted
Set focus on proofing interface S/R Search field
When the Search/Replace tool is popped in the proofing interface, ensure the keyboard focus is in its Search field. This enables the proofer to begin typing the Search term immediately without an additional click.
1 parent 767a00c commit 8a8e8c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/proofers/srchrep.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<tr><td class="right-align">
1818
<?php echo _("Search"); ?>:
1919
</td><td>
20-
<input type="text" name="search" id='search'>
20+
<input type="text" name="search" id='search' autofocus>
2121
</td></tr>
2222
<tr><td class="right-align">
2323
<?php echo _("Replace"); ?>:

0 commit comments

Comments
 (0)