diff options
Diffstat (limited to 'frontend/static/js/profile.js')
| -rw-r--r-- | frontend/static/js/profile.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/frontend/static/js/profile.js b/frontend/static/js/profile.js index a528597..e5da4c6 100644 --- a/frontend/static/js/profile.js +++ b/frontend/static/js/profile.js @@ -393,11 +393,11 @@ var Profile = if (Profile.mode === "like") return Profile.page = 0 - Profile.pages = [likeVideoQueue] + Profile.pages = [likeContentQueue] Profile.mode = "like" $(".mode").removeClass("mode") $("#likeQueue").addClass("mode") - Profile.loadQueue(likeVideoQueue) + Profile.loadQueue(likeContentQueue) }, loadTopQueue: function () { @@ -446,11 +446,11 @@ var Profile = $("#queueLinks").append('<li id="userQueue">'+userVideoQueueTitle+'</li>') $("#userQueue").bind("click", Profile.loadUserQueue) } - if (likeVideoQueue && likeVideoQueue.length && likeVideoQueueTitle) + if (likeContentQueue && likeContentQueue.length && likeContentQueueTitle) { - $("#queueLinks").append('<li id="likeQueue">'+likeVideoQueueTitle+'</li>') + $("#queueLinks").append('<li id="likeQueue">'+likeContentQueueTitle+'</li>') $("#likeQueue").bind("click", Profile.loadLikeQueue) - likeVideoQueue.reverse() + likeContentQueue.reverse() } if (topVideoQueue && topVideoQueue.length && topVideoQueueTitle) { @@ -460,7 +460,7 @@ var Profile = } if (userVideoQueue && userVideoQueue.length) Profile.loadUserQueue() - else if (likeVideoQueue && likeVideoQueue.length) + else if (likeContentQueue && likeContentQueue.length) Profile.loadLikeQueue() // if (imageQueue && imageQueue.length) // Profile.loadImages() |
