change src to 'data-original', adding binding function to document ready

This commit is contained in:
Travis Hegner
2015-06-29 13:04:47 -04:00
parent e6ab9b4b60
commit 64a449b363
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -320,6 +320,10 @@ if ($no_refresh !== TRUE && $config['page_refresh'] != 0) {
echo('<script type="text/javascript">
$(document).ready(function() {
$("img.lazy").lazyload({
effect: "fadeIn"
});
$("#countdown_timer_status").html("<i class=\"fa fa-pause fa-fw\"></i> Pause");
var Countdown = {
sec: '. $config['page_refresh'] .',