diff options
author | Thomas Lange <code@nerdmind.de> | 2017-03-20 22:15:15 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-03-20 22:15:15 +0100 |
commit | 82250d468ed798bb425c1fe9b75f6ee364306f09 (patch) | |
tree | e85fc5c5288fd8277114912ebdf0938dcdedd682 | |
parent | 37cf85eb36f14d5d6520e3e27f813edb8c4b6738 (diff) | |
download | blog-82250d468ed798bb425c1fe9b75f6ee364306f09.tar.gz blog-82250d468ed798bb425c1fe9b75f6ee364306f09.tar.xz blog-82250d468ed798bb425c1fe9b75f6ee364306f09.zip |
The "autofocus" attribute was added to the search input field.
-rw-r--r-- | template/standard/html/search/main.php | 2 | ||||
-rw-r--r-- | template/standard/html/search/result.php | 2 | ||||
-rw-r--r-- | template/standard/rsrc/main.js | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/template/standard/html/search/main.php b/template/standard/html/search/main.php index b749517..39d251d 100644 --- a/template/standard/html/search/main.php +++ b/template/standard/html/search/main.php @@ -6,7 +6,7 @@ <?php endif; ?> <form action="" method="GET"> - <input type="search" name="q" placeholder="<?=$Language->template('search_form_placeholder')?>" value="<?=escapeHTML($SEARCH['TEXT'])?>" /> + <input autofocus type="search" name="q" placeholder="<?=$Language->template('search_form_placeholder')?>" value="<?=escapeHTML($SEARCH['TEXT'])?>" /> <select name="d"> <option value=""><?=$Language->text('date_d')?></option> diff --git a/template/standard/html/search/result.php b/template/standard/html/search/result.php index e79eb98..c07dec9 100644 --- a/template/standard/html/search/result.php +++ b/template/standard/html/search/result.php @@ -2,7 +2,7 @@ <p><?=$Language->template('search_result_heading_desc')?></p> <form action="" method="GET"> - <input type="search" name="q" placeholder="<?=$Language->template('search_form_placeholder')?>" value="<?=escapeHTML($SEARCH['TEXT'])?>" /> + <input autofocus type="search" name="q" placeholder="<?=$Language->template('search_form_placeholder')?>" value="<?=escapeHTML($SEARCH['TEXT'])?>" /> <select name="d"> <option value=""><?=$Language->text('date_d')?></option> diff --git a/template/standard/rsrc/main.js b/template/standard/rsrc/main.js index 4a336e2..b5d1530 100644 --- a/template/standard/rsrc/main.js +++ b/template/standard/rsrc/main.js @@ -1,4 +1,3 @@ - //============================================================================== // Elements which contains the location of the previous and next site //============================================================================== |