diff --git a/js/ui/widget.js b/js/ui/widget.js index 1cb740f72..0d50a1926 100644 --- a/js/ui/widget.js +++ b/js/ui/widget.js @@ -143,7 +143,7 @@ ClockWidget.prototype = { let msec_remaining = 60000 - (1000 * this.currentTime.getSeconds() + this.currentTime.getMilliseconds()); if (msec_remaining < 500) { - this.currentTime.setMinutes(time.getMinutes() + 1); + this.currentTime.setMinutes(this.currentTime.getMinutes() + 1); msec_remaining += 60000; }