X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fviews%2FVariants.vue;h=e5d02856f5ade3bdcb2de8e47ecca8cabf5ba1c1;hb=1b56b73614509d1dca8c4353f18fb78349940cf8;hp=2a3f6cf02384f8b948ea1df983918f6bc90a1095;hpb=09d375717c256a2cbd71a5d3b3a4e21aee17c0ec;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 =>