Skip to content

Commit

Permalink
fix autofocus
Browse files Browse the repository at this point in the history
  • Loading branch information
KodeStar authored Apr 25, 2018
1 parent 1745100 commit 67e0f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public static function search()
$output .= '<div class="searchform">';
$output .= Form::open(['url' => $url, 'method' => 'get']);
$output .= '<div class="input-container">';
$output .= Form::text($var, null, ['class' => 'homesearch', autofocus => 'autofocus', 'placeholder' => __($name).' '.__('app.settings.search').'...']);
$output .= Form::text($var, null, ['class' => 'homesearch', 'autofocus' => 'autofocus', 'placeholder' => __($name).' '.__('app.settings.search').'...']);
$output .= '<button type="submit">'.ucwords(__('app.settings.search')).'</button>';
$output .= '</div>';
$output .= Form::close();
Expand Down

0 comments on commit 67e0f85

Please sign in to comment.