Remove debug trace
[vchess.git] / client / src / components / BaseGame.vue
index 6faa1b6..8fcb77f 100644 (file)
@@ -20,7 +20,7 @@ div#baseGame(tabindex=-1 @click="() => focusBg()"
         button(@click="() => play()") >
         button(@click="gotoEnd") >>
       #pgnDiv
-        div(v-if="game.vname!='Dark' || game.score!='*'")
+        #downloadDiv(v-if="game.vname!='Dark' || game.score!='*'")
           a#download(href="#")
           button(@click="download") {{ st.tr["Download PGN"] }}
         button(v-if="game.vname!='Dark' && game.mode!='analyze'"
@@ -71,9 +71,6 @@ export default {
     },
     // Received a new move to play:
     "game.moveToPlay": function(newMove) {
-
-console.log(newMove);
-
       if (!!newMove) //if stop + launch new game, get undefined move
         this.play(newMove, "receive");
     },
@@ -394,6 +391,9 @@ console.log(newMove);
   margin-left: auto
   margin-right: auto
 
+#downloadDiv
+  display: inline-block
+
 #modal-eog+div .card
   overflow: hidden
 #controls