We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36d2875 commit 848b230Copy full SHA for 848b230
1 file changed
scripts/bikes.js
@@ -428,12 +428,12 @@ async function tripTimer(startTime, isStarting) {
428
function openRateTripMenu(tripObj) {
429
// Calculate the trip time
430
const endDate = Date.parse(tripObj.endDate);
431
- startCountdownBetweenTrips(endDate);
432
const elapsedTime = endDate - Date.parse(tripObj.startDate);
433
const formattedTime = parseMillisecondsIntoTripTime(elapsedTime, true);
434
435
// Don't rate trips under 90 seconds
436
if (elapsedTime < 90 * 1000) return;
+ startCountdownBetweenTrips(endDate);
437
438
// Set that there is a trip being rated (don't show any new ratings while this is true)
439
tripBeingRated = true;
0 commit comments