summaryrefslogtreecommitdiffstats
path: root/htdocs/cropper
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2007-08-24 14:36:51 +0200
committerTobi Oetiker <tobi@oetiker.ch>2007-08-24 14:36:51 +0200
commit0eb5011f946b9e9e9ff2315a710730003ae5bf76 (patch)
tree6d330d0531d9f4837bb68443239aadd36c6dec18 /htdocs/cropper
parente6124dcdd53763c601f6c2f6186abae59c45237c (diff)
downloadsmokeping-0eb5011f946b9e9e9ff2315a710730003ae5bf76.tar.gz
smokeping-0eb5011f946b9e9e9ff2315a710730003ae5bf76.tar.xz
two more var statements added to js code
Diffstat (limited to 'htdocs/cropper')
-rw-r--r--htdocs/cropper/smokeping-zoom.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/htdocs/cropper/smokeping-zoom.js b/htdocs/cropper/smokeping-zoom.js
index 8129801..70a460c 100644
--- a/htdocs/cropper/smokeping-zoom.js
+++ b/htdocs/cropper/smokeping-zoom.js
@@ -88,12 +88,12 @@ function changeRRDImage(coords,dimensions){
var myRawTarget = myURLObj.getUrlParameterValue("target");
var myParsedStartDate = ISODateToJS(myRawStartDate);
- myParsedStartEpoch = Math.floor(myParsedStartDate.getTime()/1000.0);
+ var myParsedStartEpoch = Math.floor(myParsedStartDate.getTime()/1000.0);
var myParsedStopDate = ISODateToJS(myRawStopDate);
- myParsedStopEpoch = Math.floor(myParsedStopDate.getTime()/1000.0);
+ var myParsedStopEpoch = Math.floor(myParsedStopDate.getTime()/1000.0);
- myParsedDivEpoch = myParsedStopEpoch - myParsedStartEpoch;
+ var myParsedDivEpoch = myParsedStopEpoch - myParsedStartEpoch;
var mySerialDate = new Date();
var mySerial = mySerialDate.getTime();