From a5c3c258a3628cdbe5d9dbe7d509c469b0f357fb Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 3 Dec 2008 18:27:48 +0000 Subject: [PATCH] fix incorrect variable name in _updateClock svn path=/trunk/; revision=111 --- js/ui/panel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/panel.js b/js/ui/panel.js index cbbed8d40..7de27193e 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -128,7 +128,7 @@ Panel.prototype = { let msec_remaining = 60000 - (1000 * display_date.getSeconds() + display_date.getMilliseconds()); if (msec_remaining < 500) { - display_date.setMinutes(display_time.getMinutes() + 1); + display_date.setMinutes(display_date.getMinutes() + 1); msec_remaining += 60000; } this._clock.set_text(display_date.toLocaleFormat("%H:%M"));