aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/update-center/search-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/update-center/search-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/update-center/search-view.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/server/sonar-web/src/main/js/apps/update-center/search-view.js b/server/sonar-web/src/main/js/apps/update-center/search-view.js
index eb899c7f58c..a181e17a44c 100644
--- a/server/sonar-web/src/main/js/apps/update-center/search-view.js
+++ b/server/sonar-web/src/main/js/apps/update-center/search-view.js
@@ -84,12 +84,9 @@ export default Marionette.ItemView.extend({
focusSearch() {
const that = this;
- setTimeout(
- () => {
- that.$('#update-center-search-query').focus();
- },
- 0
- );
+ setTimeout(() => {
+ that.$('#update-center-search-query').focus();
+ }, 0);
},
onFilter(model) {