diff --git a/html/js/lazyload.js b/html/js/lazyload.js index c6c0d4b3ad..5f2b4d4324 100644 --- a/html/js/lazyload.js +++ b/html/js/lazyload.js @@ -1,21 +1,15 @@ $(document).ready(function(){ $("img.lazy").lazyload({ - effect: "fadeIn" + effect: "fadeIn", + threshold: 200 }).removeClass("lazy"); $(document).ajaxStop(function() { $("img.lazy").lazyload({ - effect: "fadeIn" + effect: "fadeIn", + threshold: 200 }).removeClass("lazy"); }); -}); - -function get_overlib(content) { - var ret = overlib(content, WRAP,HAUTO,VAUTO); - - jQuery.event.trigger("ajaxStop"); - - return ret; -} \ No newline at end of file +}); \ No newline at end of file