File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ a.anchor-link {
148
148
<img alt =" View repo on GitHub" src =" https://img.shields.io/badge/view-repo-orange?logo=github" style =" max-width : 100% ; margin : 20px 0 0 0 ;" >
149
149
</a >
150
150
</div >
151
- <!-- alternate clock location under title
151
+ <!-- TODO: decide on a location for this; here's an alternate clock location under title
152
152
<div class="clock" style="margin-right: 5px; position: absolute; top: 40px;"></div>
153
153
-->
154
154
<div class =" clock" style =" margin-right : 5px ; float : right ;" ></div >
@@ -229,7 +229,7 @@ require(
229
229
() => {
230
230
const input = prompt (" How many minutes?" );
231
231
if (input !== undefined && input !== " " && input !== null ){
232
- if (! isNaN (input)) {
232
+ if (! isNaN (input) && input >= 0.1 ) {
233
233
const exerciseTime = input * 60 * 1000 ;
234
234
const countDownTime = new Date (new Date ().getTime () + exerciseTime).getTime ();
235
235
You can’t perform that action at this time.
0 commit comments