fix puzzle visibility change callback
parent
a4892ad589
commit
b8b9e9a90b
|
@ -444,7 +444,7 @@ module.exports = function(opts, i18n) {
|
|||
// Make sure chessground is fully shown when the page goes back to being visible.
|
||||
document.addEventListener('visibilitychange', function() {
|
||||
lichess.requestIdleCallback(function() {
|
||||
jump(initialPath);
|
||||
jump(vm.path);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue