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) {
|
||||
if (time == null) {
|
||||
this._currentMinute = -1;
|
||||
if (time == null) {
|
||||
this.options.time = new Date();
|
||||
} else {
|
||||
if (this._timer != null) {
|
||||
|
|
Loading…
Reference in a new issue