work around safari bug
parent
8dd4b2c9ae
commit
42dca48e57
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue