Merge pull request #2456 from isaacl/analysisBoardPly

fix ply round->analysis for watchers too
This commit is contained in:
Thibault Duplessis 2016-12-11 21:23:25 +01:00 committed by GitHub
commit 4bdec2f6c3

View file

@ -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
]);
}