commit c8e2e002f3763c325ad0415ca81dd63d2f359ce8 parent 56e217ac1b15cdfb8f8956391c01cb50fe24d479 Author: AsherMorgan <59518073+AsherMorgan@users.noreply.github.com> Date: Thu, 25 Feb 2021 19:55:07 -0800 Fix bug in reference table keyboard shortcuts Diffstat:
| M | js/reference.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js/reference.js b/js/reference.js @@ -39,7 +39,7 @@ let referenceTables = Vue.component("referenceTables", { * @param {object} e - The event args. */ keyup: function(e) { - if (this._inactive) return; + if (this._inactive || this.$refs.search === document.activeElement) return; if (e.key === "h" || e.key == "/") { try { this.$refs.search.focus();