From 46a2409823b28637ae77c0445bd5455df131453e Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Mon, 1 Feb 2016 16:12:14 -0500 Subject: [PATCH] try binding to this again --- js/app.js | 2 +- js/custom/pageSetup.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index 00469a9..792635b 100644 --- a/js/app.js +++ b/js/app.js @@ -105,7 +105,7 @@ $(document).ready(function () { $('#cam3').attr('src','http://www.otsegocountymi.gov/images/OtsegoCoAirCam.jpg?b=' + Math.random()); $('#cam4').attr('src','http://www.otsegocountymi.gov/images/OtsegoCoAnimalCam.jpg?b=' + Math.random()); $('#cam5').attr('src','http://www.weather.gov/images/apx/webcam/webcam.jpg?b=' + Math.random()); - setTimeout(this.glmReloadImg().bind(this), 10000); + setTimeout(glmReloadImg().bind(this), 10000); } glmReloadImg(); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index a0bd020..548740b 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -96,7 +96,7 @@ $(document).ready(function () { $('#cam3').attr('src','http://www.otsegocountymi.gov/images/OtsegoCoAirCam.jpg?b=' + Math.random()); $('#cam4').attr('src','http://www.otsegocountymi.gov/images/OtsegoCoAnimalCam.jpg?b=' + Math.random()); $('#cam5').attr('src','http://www.weather.gov/images/apx/webcam/webcam.jpg?b=' + Math.random()); - setTimeout(this.glmReloadImg().bind(this), 10000); + setTimeout(glmReloadImg().bind(this), 10000); } glmReloadImg(); -- 2.17.1