Skip to content

Commit 3a778aa

Browse files
committed
initialize on keydown and focus
1 parent 91fee67 commit 3a778aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import $ from 'jquery'
22
import * as Fields from 'fields'
33

4-
$(document).on('keydown', Fields.SELECTOR, (e) => {
4+
$(document).on('keypress focus', Fields.SELECTOR, (e) => {
55
Fields.setup($(e.target))
66
})

0 commit comments

Comments
 (0)