History not changing well in mobile #23
Labels
bug
Something isn't working
easy for beginners
Easy for beginners
good first issue
Good for newcomers
hacktoberfest
Good for new contributors - https://hacktoberfest.digitalocean.com/
help wanted
Extra attention is needed
trivial
Small tasks or easy tweaks
up-for-grabs
Good for new contributors - https://up-for-grabs.net/
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);
});
The text was updated successfully, but these errors were encountered: