From 27cbaad96a7d070415e44d2e3dc0fef8d1d3932b Mon Sep 17 00:00:00 2001 From: Morlinest Date: Mon, 28 Nov 2016 15:06:02 +0100 Subject: [PATCH] Mark all content in search field To resolve issue #2310 --- core/search/js/search.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/search/js/search.js b/core/search/js/search.js index 93b1961eea5..4dd29ef917f 100644 --- a/core/search/js/search.js +++ b/core/search/js/search.js @@ -352,6 +352,7 @@ !$searchBox.is(':focus') // if searchbox is already focused do nothing (fallback to browser default) ) { $searchBox.focus(); + $searchBox.select(); event.preventDefault(); } }); -- 2.39.5