diff --git a/html/includes/functions.inc.php b/html/includes/functions.inc.php index 1f6d4aaa2..72596ac35 100644 --- a/html/includes/functions.inc.php +++ b/html/includes/functions.inc.php @@ -353,8 +353,7 @@ function generate_graph_tag($args) $urlargs[] = $key."=".urlencode($arg); } - //return ''; - return ''; + return ''; } function generate_graph_js_state($args) { diff --git a/html/js/lazyload.js b/html/js/lazyload.js index 3fed53442..066cd570d 100644 --- a/html/js/lazyload.js +++ b/html/js/lazyload.js @@ -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'); }); }); \ No newline at end of file