diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2007-08-24 14:36:51 +0200 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2007-08-24 14:36:51 +0200 |
commit | 0eb5011f946b9e9e9ff2315a710730003ae5bf76 (patch) | |
tree | 6d330d0531d9f4837bb68443239aadd36c6dec18 /htdocs | |
parent | e6124dcdd53763c601f6c2f6186abae59c45237c (diff) | |
download | smokeping-0eb5011f946b9e9e9ff2315a710730003ae5bf76.tar.gz smokeping-0eb5011f946b9e9e9ff2315a710730003ae5bf76.tar.xz |
two more var statements added to js code
Diffstat (limited to 'htdocs')
-rw-r--r-- | htdocs/cropper/smokeping-zoom.js | 6 |
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(); |