fix incorrect variable name in _updateClock
svn path=/trunk/; revision=111
This commit is contained in:
parent
2a40560828
commit
a5c3c258a3
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user