LabinatorSolutions / stockfish-chess-web-gui

Responsive chess web GUI to play against the Stockfish 16 chess engine. Multiple web GUI implementations have also been included.
https://labinatorsolutions.github.io/stockfish-chess-web-gui/
GNU Affero General Public License v3.0
58 stars 40 forks source link

History not changing well in mobile #23

Open rockcesar opened 3 years ago

rockcesar commented 3 years ago

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

LabinatorSolutions commented 3 years ago

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!

rockcesar commented 3 years ago

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

LabinatorSolutions commented 5 months ago

The whole history viewer require replacing with a modern library. The one that is currently being used is already outdated.