bugfix: when explicitly setting the time to a value with the same minute,

it didn't get updated.
This commit is contained in:
Manuel Friedli 2014-06-27 12:27:43 +02:00
parent c25a0d6c33
commit 14d7ee79bc

2
uhr.js
View file

@ -81,8 +81,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
}
},
time: function(time) {
if (time == null) {
this._currentMinute = -1;
if (time == null) {
this.options.time = new Date();
} else {
if (this._timer != null) {