Browse Source

fix autofocus

pull/177/head 1.4.12
KodeStar 7 years ago
committed by GitHub
parent
commit
67e0f8570e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/Setting.php

2
app/Setting.php

@ -209,7 +209,7 @@ class Setting extends Model
$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();

Loading…
Cancel
Save