min is not defined!

Should be:
mins
This commit is contained in:
Prokhor 2018-10-28 15:56:23 +03:00 committed by GitHub
parent dc904d122e
commit 37761062b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ Clock.prototype._render = function() {
if (hours < 10) hours = '0' + hours;
let mins = date.getMinutes();
if (mins < 10) min = '0' + mins;
if (mins < 10) mins = '0' + mins;
let secs = date.getSeconds();
if (secs < 10) secs = '0' + secs;