mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
Only remove the height tag from the lazy loaded images
This commit is contained in:
+2
-2
@@ -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