pull/2910/head
Isaac Connor 2020-04-10 11:09:46 -04:00
parent c8128de673
commit 105be40ce3
1 changed files with 3 additions and 3 deletions

View File

@ -205,11 +205,11 @@ var maxTimeSecs=parseInt($maxTimeSecs);
var minTime='$minTime';
var maxTime='$maxTime';
";
echo "var rangeTimeSecs=".($maxTimeSecs - $minTimeSecs + 1).";\n";
echo 'var rangeTimeSecs='.($maxTimeSecs - $minTimeSecs + 1).";\n";
if ( isset($defaultCurrentTime) )
echo "var currentTimeSecs=parseInt(".strtotime($defaultCurrentTime).");\n";
echo 'var currentTimeSecs=parseInt('.strtotime($defaultCurrentTime).");\n";
else
echo "var currentTimeSecs=parseInt(".($minTimeSecs + $maxTimeSecs)/2.");\n";
echo 'var currentTimeSecs=parseInt('.(($minTimeSecs + $maxTimeSecs)/2).");\n";
echo 'var speeds=[';
for ( $i=0; $i < count($speeds); $i++ )