Skip to content

Commit eda6916

Browse files
committed
Fix focus on first input on dialog
1 parent 162f3c5 commit eda6916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/views/dialogs/base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ define([
100100
*/
101101
shown: function() {
102102
if (this.options.autoFocus) {
103-
this.$("input").focus();
103+
$(this.$("input").get(0)).focus();
104104
}
105105
},
106106

0 commit comments

Comments
 (0)