mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
24 lines
644 B
JavaScript
24 lines
644 B
JavaScript
$(document).ready(function(){
|
|
|
|
$("img.lazy").lazyload({
|
|
effect: "fadeIn",
|
|
threshold: 300,
|
|
placeholder: "",
|
|
skip_invisible: false
|
|
}).removeClass("lazy").removeAttr('width').removeAttr('height');
|
|
|
|
$(document).ajaxStop(function() {
|
|
$("img.lazy").lazyload({
|
|
effect: "fadeIn",
|
|
threshold: 300,
|
|
placeholder: "",
|
|
skip_invisible: false
|
|
}).removeClass("lazy").removeAttr('width').removeAttr('height');
|
|
});
|
|
});
|
|
|
|
function wrap_overlib() {
|
|
var ret = overlib.apply(null,arguments);
|
|
$('div#overDiv img').removeAttr('width').removeAttr('height');
|
|
return ret;
|
|
} |