From 73cbe9dee4022382762c23745faad8c6a5286658 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Tue, 11 Dec 2018 15:25:57 +0100 Subject: [PATCH] Fix preferences screen (pre-selected sound level) --- public/javascripts/components/game.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/javascripts/components/game.js b/public/javascripts/components/game.js index cb4d273d..208e0482 100644 --- a/public/javascripts/components/game.js +++ b/public/javascripts/components/game.js @@ -660,6 +660,7 @@ Vue.component('my-game', { "value": "0", innerHTML: "None" }, + attrs: { "selected": this.sound==0 }, } ), h("option", @@ -668,6 +669,7 @@ Vue.component('my-game', { "value": "1", innerHTML: "Newgame" }, + attrs: { "selected": this.sound==1 }, } ), h("option", @@ -676,6 +678,7 @@ Vue.component('my-game', { "value": "2", innerHTML: "All" }, + attrs: { "selected": this.sound==2 }, } ), ], -- 2.44.0