diff options
Diffstat (limited to 'frontend/static/js/profile.js')
| -rw-r--r-- | frontend/static/js/profile.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/frontend/static/js/profile.js b/frontend/static/js/profile.js index e5da4c6..c4fb146 100644 --- a/frontend/static/js/profile.js +++ b/frontend/static/js/profile.js @@ -327,7 +327,7 @@ var Profile = return var data = { - user: userProfile[1], + user: userProfile[0], start: Player.videos[Player.queue[0]].date, } d.scrollToTop(window) @@ -344,9 +344,11 @@ var Profile = queue = [] for (i in lines) { + if(i == 0) + continue if (lines[i].length < 2) continue - line = lines[i].split("\t") + line = lines[i].split("\t").slice(1); queue.push(line) } Profile.page += 1 |
