Closed PdoubleU closed 2 years ago
-Add short logical checking for the 'duration' parameter: if equals to 0 (logical false)
the function 'resetTimer' returns and doesn't invoke setTimeout, otherwise setTimeout takes the time length passed as duration
Closes #86
-Add short logical checking for the 'duration' parameter: if equals to 0 (logical false)
the function 'resetTimer' returns and doesn't invoke setTimeout, otherwise setTimeout takes the time length passed as duration
Closes #86