mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Only remove the height tag from the lazy loaded images
This commit is contained in:
parent
8e271ace83
commit
66cf9dfffc
@ -32,5 +32,5 @@ $(document).ready(function(){
|
||||
function lazyload_done() {
|
||||
//Since RRD takes the width and height params for only the canvas, we must unset them
|
||||
//from the final (larger) image to prevent the browser from resizing them.
|
||||
$(this).removeAttr('width').removeAttr('height').removeClass('lazy');
|
||||
}
|
||||
$(this).removeAttr('height').removeClass('lazy');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user