aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/features/repo-common.js
diff options
context:
space:
mode:
authoryp05327 <576951401@qq.com>2023-04-20 18:28:27 +0900
committerGitHub <noreply@github.com>2023-04-20 05:28:27 -0400
commit8ea33baa1ce49168f74f7588f858c2f8327d5bfb (patch)
tree1d032c369e16177d4519cc2aa401933ae3bcdae9 /web_src/js/features/repo-common.js
parent6793ef00692aee3d73d5e37ded0b8cff6b4c1029 (diff)
downloadgitea-8ea33baa1ce49168f74f7588f858c2f8327d5bfb.tar.gz
gitea-8ea33baa1ce49168f74f7588f858c2f8327d5bfb.zip
Introduce eslint-plugin-no-jquery/no-event-shorthand (#24198)
https://github.com/go-gitea/gitea/pull/24098#issuecomment-1514010690 --------- Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'web_src/js/features/repo-common.js')
-rw-r--r--web_src/js/features/repo-common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/repo-common.js b/web_src/js/features/repo-common.js
index 1a32d7cb64..d99a1a8da0 100644
--- a/web_src/js/features/repo-common.js
+++ b/web_src/js/features/repo-common.js
@@ -69,7 +69,7 @@ export function initRepoCloneLink() {
});
$inputLink.on('focus', () => {
- $inputLink.select();
+ $inputLink.trigger('select');
});
}