fix incorrect variable name in _updateClock

svn path=/trunk/; revision=111
This commit is contained in:
Dan Winship 2008-12-03 18:27:48 +00:00
parent 2a40560828
commit a5c3c258a3

View File

@ -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"));