diff --git a/public/javascripts/big.js b/public/javascripts/big.js index 9d7cd0b35b..682e2aa5bc 100644 --- a/public/javascripts/big.js +++ b/public/javascripts/big.js @@ -1635,7 +1635,7 @@ lichess.storage = { }; var resizeTimeline = function() { var e = $('#timeline'); - e.height(561 - e.offset().top); + if (e.length) e.height(561 - e.offset().top); }; resizeTimeline(); lichess.socket = new lichess.StrongSocket(