Only remove the height tag from the lazy loaded images

This commit is contained in:
Louis Bailleul 2015-11-25 17:26:54 +00:00
parent 8e271ace83
commit 66cf9dfffc

View File

@ -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');
}