From: Steve Sutton Date: Mon, 1 Feb 2016 21:12:14 +0000 (-0500) Subject: try binding to this again X-Git-Tag: v1.0.0^2~7 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=46a2409823b28637ae77c0445bd5455df131453e;p=WP-Themes%2Fotsego.git try binding to this again --- 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();