Merge pull request #2456 from isaacl/analysisBoardPly
fix ply round->analysis for watchers too
This commit is contained in:
commit
4bdec2f6c3
|
@ -209,7 +209,7 @@ module.exports = {
|
|||
href: '/tournament/' + d.tournament.id
|
||||
}, ctrl.trans('viewTournament')) : null,
|
||||
game.replayable(d) ? m('a.button', {
|
||||
href: router.game(d, analysisBoardOrientation(d)) + (ctrl.replaying() ? '#' + ctrl.vm.ply : '')
|
||||
href: router.game(d, analysisBoardOrientation(d)) + '#' + ctrl.vm.ply
|
||||
}, ctrl.trans('analysis')) : null
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue