bugfix: when explicitly setting the time to a value with the same minute,
it didn't get updated.
This commit is contained in:
parent
c25a0d6c33
commit
14d7ee79bc
1 changed files with 1 additions and 1 deletions
2
uhr.js
2
uhr.js
|
@ -81,8 +81,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
time: function(time) {
|
time: function(time) {
|
||||||
|
this._currentMinute = -1;
|
||||||
if (time == null) {
|
if (time == null) {
|
||||||
this._currentMinute = -1;
|
|
||||||
this.options.time = new Date();
|
this.options.time = new Date();
|
||||||
} else {
|
} else {
|
||||||
if (this._timer != null) {
|
if (this._timer != null) {
|
||||||
|
|
Loading…
Reference in a new issue