diff options
| author | root <root@lalalizard.com> | 2012-12-14 11:52:08 -0500 |
|---|---|---|
| committer | root <root@lalalizard.com> | 2012-12-14 11:52:08 -0500 |
| commit | 74ce7c50288926fc6fc4baedfa1efbd3b124ca8a (patch) | |
| tree | c00498f5779ef9e874a8a4d7c032c29e3f8dd3c9 /frontend/static/js | |
| parent | cbaf7652b5a9692d40ffebac2b8cdbf5ce705ae4 (diff) | |
Fix top page with not loading videos
Diffstat (limited to 'frontend/static/js')
| -rw-r--r-- | frontend/static/js/top.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/frontend/static/js/top.js b/frontend/static/js/top.js index 9263bf8..7486993 100644 --- a/frontend/static/js/top.js +++ b/frontend/static/js/top.js @@ -176,13 +176,15 @@ var Profile = $("#topQueue").bind("click", Profile.loadTopQueue) topVideoQueue.reverse() } - if (todayVideoQueue && todayVideoQueue.length) + if (todayVideoQueue && todayVideoQueue.length){ Profile.loadTodayQueue() - else if (yesterdayVideoQueue && yesterdayVideoQueue.length) + }else if (yesterdayVideoQueue && yesterdayVideoQueue.length){ Profile.loadYesterdayQueue() + }else{ + Profile.loadTopQueue() } } - +} var Room = { } |
