diff options
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(); |