X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FVariants.vue;h=e5d02856f5ade3bdcb2de8e47ecca8cabf5ba1c1;hb=58bf4670c6bf01d94fe1f798cd5d63493d15e196;hp=2a3f6cf02384f8b948ea1df983918f6bc90a1095;hpb=57d9b2c4f08948bd5a5fc4a01a0b62d4c80523e2;p=vchess.git diff --git a/client/src/views/Variants.vue b/client/src/views/Variants.vue index 2a3f6cf0..e5d02856 100644 --- a/client/src/views/Variants.vue +++ b/client/src/views/Variants.vue @@ -26,6 +26,9 @@ export default { st: store.state }; }, + mounted: function() { + document.getElementById("prefixFilter").focus(); + }, computed: { filteredVariants: function() { const capitalizedPrefix = this.curPrefix.replace(/^\w/, c =>