mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Only remove the height tag from the lazy loaded images
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
Reference in New Issue
Block a user