summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2022-09-28 09:20:39 +0000
committerGo MAEDA <maeda@farend.jp>2022-09-28 09:20:39 +0000
commit534103f42db71debc38b55126c34e460340b8513 (patch)
treea066785bda84c663b9b9af3df9eb7d7ad46e860f /public
parent59852ed8453a1a63574de0345b78108a1a90a62d (diff)
downloadredmine-534103f42db71debc38b55126c34e460340b8513.tar.gz
redmine-534103f42db71debc38b55126c34e460340b8513.zip
Merged r21867 from trunk to 5.0-stable (#37473).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21868 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/application.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 91da19229..4d039cde1 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -958,7 +958,7 @@ function addFormObserversForDoubleSubmit() {
function defaultFocus(){
if (($('#content :focus').length == 0) && (window.location.hash == '')) {
- $('#content input[type=text], #content textarea').first().focus();
+ $('#content input[type=text]:visible, #content textarea:visible').first().focus();
}
}