@fluxhub/fluxhub-lib 10.0.461 → 10.0.463

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3546,13 +3546,13 @@
3546
3546
  };
3547
3547
  FHTimePickerComponent.prototype.upm = function () {
3548
3548
  if (this.m + this.step < 60) {
3549
- this.m += this.step;
3549
+ this.m = parseInt(this.m + '') + this.step;
3550
3550
  }
3551
3551
  this.sc();
3552
3552
  };
3553
3553
  FHTimePickerComponent.prototype.dom = function () {
3554
3554
  if (this.m - this.step >= 0) {
3555
- this.m -= this.step;
3555
+ this.m = parseInt(this.m + '') - this.step;
3556
3556
  }
3557
3557
  this.sc();
3558
3558
  };
@@ -3563,10 +3563,10 @@
3563
3563
  this.sc();
3564
3564
  };
3565
3565
  FHTimePickerComponent.prototype.onMi = function () {
3566
- this.m = parseInt('' + (this.m / this.step));
3567
3566
  if (this.m > 59) {
3568
3567
  this.m = 59;
3569
3568
  }
3569
+ this.m = parseInt('' + (this.m / this.step)) * this.step;
3570
3570
  this.sc();
3571
3571
  };
3572
3572
  FHTimePickerComponent.prototype.onKeyDown = function (event) {
@@ -3623,7 +3623,7 @@
3623
3623
  }
3624
3624
  var a = desc_val.split(":");
3625
3625
  this.h = parseInt(a[0]);
3626
- this.m = parseInt('' + (parseInt(a[1]) / this.step));
3626
+ this.m = parseInt('' + (parseInt(a[1]) / this.step)) * this.step;
3627
3627
  if (desc_val.length != 5) {
3628
3628
  this.onChange(this.getValue());
3629
3629
  }