Skip to content

Commit

Permalink
Set focus on proofing interface S/R Search field
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
windymilla authored and cpeel committed Feb 23, 2023
1 parent 767a00c commit 8a8e8c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/proofers/srchrep.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<tr><td class="right-align">
<?php echo _("Search"); ?>:
</td><td>
<input type="text" name="search" id='search'>
<input type="text" name="search" id='search' autofocus>
</td></tr>
<tr><td class="right-align">
<?php echo _("Replace"); ?>:
Expand Down

0 comments on commit 8a8e8c2

Please sign in to comment.