summaryrefslogtreecommitdiff
path: root/assets/js/src/Popover.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/src/Popover.js')
-rw-r--r--assets/js/src/Popover.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/src/Popover.js b/assets/js/src/Popover.js
index e32fce82..4c806278 100644
--- a/assets/js/src/Popover.js
+++ b/assets/js/src/Popover.js
@@ -137,7 +137,7 @@ Kanboard.Popover.prototype.afterOpen = function() {
});
// Autofocus fields (html5 autofocus works only with page onload)
- $("[autofocus]").each(function() {
+ $("#popover-content input[autofocus]").each(function() {
$(this).focus();
});