fix homepage JS for anon
This commit is contained in:
parent
5ce4878698
commit
0b2ff2e871
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue