stockfish-chess-web-gui icon indicating copy to clipboard operation
stockfish-chess-web-gui copied to clipboard

History not changing well in mobile

Open rockcesar opened this issue 3 years ago • 3 comments

History not changing well in mobile. When I try to click in history, the history play doesn't appears well in Mobile. In Desktop it's working well. I recomment this.

In file js/board-init.js, line 62, comment loadBoard:

$('#game-turns-history li span').off().click(function() { var turnN = parseInt($(this).attr('turn')); console.log('History: show turn ' + $(this).attr('turn')); moves = JSON.parse(localStorage.getItem('boardHistory')); console.log(moves[turnN-1]); //loadBoard(moves[turnN-1], true); });

rockcesar avatar Jul 08 '21 00:07 rockcesar

Hello!

Thank you for your bug report. We have assigned you to fix this bug if you have time. Our team is highly occupied with other projects at the moment.

All the best!

LabinatorSolutions avatar Jul 10 '21 04:07 LabinatorSolutions

Done with this pull request: https://github.com/LabinatorSolutions/stockfish-chess-web-gui/pull/28

rockcesar avatar Jul 10 '21 13:07 rockcesar