work around safari bug

studyInviteSetting
Thibault Duplessis 2017-05-06 11:32:54 +02:00
parent 8dd4b2c9ae
commit 42dca48e57
1 changed files with 1 additions and 0 deletions

View File

@ -148,6 +148,7 @@ lichess.startEmbeddedAnalyse = function(opts) {
board.style.height = boardSize + 'px';
ground.style.width = groundSize + 'px';
ground.style.maxWidth = groundSize + 'px';
ground.style.height = boardSize + 'px';
document.body.dispatchEvent(new Event('chessground.resize'));
};
onResize();