mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
cleanup and add 200px threshold
This commit is contained in:
@ -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;
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user