From 14d7ee79bc62bd35fe9ded5616a1ccb52f2168cf Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Fri, 27 Jun 2014 12:27:43 +0200 Subject: [PATCH] bugfix: when explicitly setting the time to a value with the same minute, it didn't get updated. --- uhr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uhr.js b/uhr.js index 8ed1906..546eb6a 100644 --- a/uhr.js +++ b/uhr.js @@ -81,8 +81,8 @@ along with this program. If not, see . } }, time: function(time) { + this._currentMinute = -1; if (time == null) { - this._currentMinute = -1; this.options.time = new Date(); } else { if (this._timer != null) {