button(@click="flip") Flip
button(@click="gotoBegin") GotoBegin
button(@click="gotoEnd") GotoEnd
- #messageDiv.section-content {{ curMoveMessage() }}
+ #messageDiv.section-content(v-if="game.type=='corr'") {{ curMoveMessage() }}
#fenDiv.section-content(v-if="showFen && !!vr")
p#fenString.text-center {{ vr.getFen() }}
#pgnDiv.section-content
return "";
return this.game.moves[this.cursor].message || "";
},
+ setCurrentMessage: function(message) {
+ this.game.moves[this.game.moves.length-1].message = message;
+ },
download: function() {
const content = this.getPgn();
// Prepare and trigger download link