We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85999e8 commit 033d0e1Copy full SHA for 033d0e1
src/components/Popup/MainBody.vue
@@ -69,9 +69,6 @@ export default Vue.extend({
69
};
70
},
71
computed,
72
- mounted: function () {
73
- document.querySelector<HTMLLinkElement>(".entry[tabindex='0']")?.focus();
74
- },
75
methods: {
76
isMatchedEntry(entry: OTPEntry) {
77
for (const hash of this.$store.getters["accounts/matchedEntries"]) {
src/popup.ts
@@ -71,6 +71,9 @@ async function init() {
}
+ // Auto focus on first entry
+ document.querySelector<HTMLAnchorElement>("a.entry[tabindex='0']")?.focus();
+
// Set document title
78
try {
79
document.title = instance.i18n.extName;
0 commit comments