mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Removed lazyload completely, and updated embedding
This commit is contained in:
@@ -86,3 +86,13 @@ $(document).on( "click", ".vote-container", function(e){
|
||||
var id = $(this).attr("data-video-id");
|
||||
List.vote(id, "pos");
|
||||
});
|
||||
|
||||
$(document).on("click", ".prev_page", function(e){
|
||||
e.preventDefault();
|
||||
List.dynamicContentPage(-1);
|
||||
});
|
||||
|
||||
$(document).on("click", ".next_page", function(e){
|
||||
e.preventDefault();
|
||||
List.dynamicContentPage(1);
|
||||
});
|
||||
|
||||
@@ -91,7 +91,7 @@ var List = {
|
||||
$(".prev_page_hide").css("display","inline-block");
|
||||
}
|
||||
|
||||
if(lazy_load){
|
||||
/*if(lazy_load){
|
||||
if(Helper.mobilecheck()) $(".list-image").lazyload({});
|
||||
else{
|
||||
$(".list-image").lazyload({container: $("#wrapper")}).removeClass("lazy");
|
||||
@@ -99,7 +99,7 @@ var List = {
|
||||
document.getElementById('wrapper').scrollTop += 1;
|
||||
document.getElementById('wrapper').scrollTop += -1;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}else{
|
||||
List.empty = true;
|
||||
$("#wrapper").append("<span id='empty-channel-message'>The playlist is empty.</span>");
|
||||
|
||||
Reference in New Issue
Block a user