TODO: modalSettings + finish game.js for other scenarios
[vchess.git] / public / javascripts / variant.js
index 74c4298..c1ba857 100644 (file)
@@ -12,7 +12,7 @@ new Vue({
                userColor: "w",
 
                allowChat: false,
-               allowMovelist: false,
+               allowMovelist: true,
                fen: V.GenRandInitFen(),
        },
        created: function() {
@@ -22,6 +22,7 @@ new Vue({
 
                this.myid = "abcdefghij";
 //console.log(this.myid + " " + variant);
+                       //myid: localStorage.getItem("myid"), //our ID, always set
 
                this.conn = new WebSocket(socketUrl + "/?sid=" + this.myid + "&page=" + variant.id);
                const socketCloseListener = () => {