Browse Source

Mark all content in search field

To resolve issue #2310
tags/v11.0RC2
Morlinest 7 years ago
parent
commit
27cbaad96a
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      core/search/js/search.js

+ 1
- 0
core/search/js/search.js View File

@@ -352,6 +352,7 @@
!$searchBox.is(':focus') // if searchbox is already focused do nothing (fallback to browser default)
) {
$searchBox.focus();
$searchBox.select();
event.preventDefault();
}
});

Loading…
Cancel
Save