From 793cae8e52b3e1e4e9de3e81dc88f6b07873af20 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Wed, 12 Nov 2014 15:46:48 +0900 Subject: activity clock custom seconds prompt should default to 0 seconds to avoid error --- js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/main.js b/js/main.js index f6a9e55..7e43e4b 100644 --- a/js/main.js +++ b/js/main.js @@ -103,7 +103,7 @@ function activityClockReset() function activityClockCustom() { var minutes = prompt("Number of minutes", "0"); - var seconds = prompt("Number of seconds"); + var seconds = prompt("Number of seconds", "0"); activityClockGo(parseInt(minutes) * 60 + parseInt(seconds)); } -- cgit v1.2.3