usenetbinary-newsreaderfanartsickbeardtvseriesplexswizzinembyseedboxtvdbnzbgetsubtitlewebuiquickboxtraktkodistabletvshowsqnaptautulli
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
523 B
18 lines
523 B
function initLazyload(){
|
|
$.ll = new LazyLoad({elements_selector:'img[data-original]', callback_load:function(element){
|
|
if (element.id) {
|
|
var el = document.getElementById('loading-' + element.id), className = 'hide';
|
|
if (!!document.body.classList) {
|
|
el.classList.add(className);
|
|
} else {
|
|
el.className += (el.className ? ' ' : '') + className;
|
|
}
|
|
}
|
|
}});
|
|
$.ll.handleScroll();
|
|
return !0;
|
|
}
|
|
|
|
$(document).ready(function(){
|
|
!/undefined/i.test(typeof(LazyLoad)) && initLazyload();
|
|
});
|
|
|