From 7bf06da9f85ab5dbdb301fe50d5636b0d5ce2bb7 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Sat, 13 Jun 2020 22:16:16 +0200 Subject: [PATCH] Don't add 1sec delay for search input focus --- src/views/appstore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/appstore.js b/src/views/appstore.js index df1ea31dc..16836620a 100644 --- a/src/views/appstore.js +++ b/src/views/appstore.js @@ -385,7 +385,7 @@ angular.module('Application').controller('AppStoreController', ['$scope', '$loca // hashChangeListener calls $apply, so make sure we don't double digest here setTimeout(hashChangeListener, 1); - setTimeout(function () { $('#appstoreSearch').focus(); }, 1000); + setTimeout(function () { $('#appstoreSearch').focus(); }, 1); callback(); });