mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-15 08:04:57 +02:00
change src to 'data-original', adding binding function to document ready
This commit is contained in:
@@ -353,7 +353,7 @@ function generate_graph_tag($args)
|
||||
$urlargs[] = $key."=".urlencode($arg);
|
||||
}
|
||||
|
||||
return '<img class="lazy" width="'.$w.'" height="'.$h.'" src="graph.php?' . implode('&',$urlargs).'" border="0" />';
|
||||
return '<img class="lazy" width="'.$w.'" height="'.$h.'" data-original="graph.php?' . implode('&',$urlargs).'" border="0" />';
|
||||
}
|
||||
|
||||
function generate_graph_js_state($args) {
|
||||
|
||||
Reference in New Issue
Block a user