From 9e8794a39fd6fd739c0ba64747a4144b4913151d Mon Sep 17 00:00:00 2001 From: Marcus Kimpenhaus Date: Mon, 2 Apr 2018 11:13:49 +0200 Subject: [PATCH] added autofocus to search input #149 --- app/Setting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Setting.php b/app/Setting.php index cf8cc22e..75e2c158 100644 --- a/app/Setting.php +++ b/app/Setting.php @@ -206,7 +206,7 @@ class Setting extends Model $output .= '
'; $output .= Form::open(['url' => $url, 'method' => 'get']); $output .= '
'; - $output .= Form::text($var, null, ['class' => 'homesearch', 'placeholder' => __($name).' '.__('app.settings.search').'...']); + $output .= Form::text($var, null, ['class' => 'homesearch', autofocus => 'autofocus', 'placeholder' => __($name).' '.__('app.settings.search').'...']); $output .= ''; $output .= '
'; $output .= Form::close();