mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 16:04:35 +02:00
putting WxH back, but removing them via javascript after lazyloading finishes
This commit is contained in:
+4
-6
@@ -3,16 +3,14 @@ $(document).ready(function(){
|
||||
$("img.lazy").lazyload({
|
||||
effect: "fadeIn",
|
||||
threshold: 300,
|
||||
placeholder: "",
|
||||
skip_invisible: false
|
||||
}).removeClass("lazy");
|
||||
placeholder: ""
|
||||
}).removeClass("lazy").removeAttr('width').removeAttr('height');
|
||||
|
||||
$(document).ajaxStop(function() {
|
||||
$("img.lazy").lazyload({
|
||||
effect: "fadeIn",
|
||||
threshold: 300,
|
||||
placeholder: "",
|
||||
skip_invisible: false
|
||||
}).removeClass("lazy");
|
||||
placeholder: ""
|
||||
}).removeClass("lazy").removeAttr('width').removeAttr('height');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user