@flexem/fc-gui 3.0.0-alpha.112 → 3.0.0-alpha.113

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.
@@ -39396,7 +39396,9 @@ class switch_indicator_light_element_SwitchIndicatorLightElement extends conditi
39396
39396
  this.isWriteRestorationDownValue = true;
39397
39397
  }, 1000);
39398
39398
  }
39399
- on_event.preventDefault();
39399
+ if (on_event && on_event.cancelable) {
39400
+ on_event.preventDefault();
39401
+ }
39400
39402
  }
39401
39403
  });
39402
39404
  this.rootElement.on(this.isMobileMode && isMobile ? 'touchend' : 'mouseup', () => {
@@ -39426,7 +39428,7 @@ class switch_indicator_light_element_SwitchIndicatorLightElement extends conditi
39426
39428
  this.isWriteRestorationDownValue = false;
39427
39429
  if (!this.model.useIndicatorLight) {
39428
39430
  this.switchToState(0);
39429
- if (on_event) {
39431
+ if (on_event && on_event.cancelable) {
39430
39432
  on_event.preventDefault();
39431
39433
  }
39432
39434
  }