fix homepage JS for anon

pull/725/head
Thibault Duplessis 2015-07-17 16:46:24 +02:00
parent 5ce4878698
commit 0b2ff2e871
1 changed files with 1 additions and 1 deletions

View File

@ -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(