@sumaris-net/ngx-components 1.19.18 → 1.19.19

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.
@@ -18513,9 +18513,11 @@
18513
18513
  if (mobile)
18514
18514
  return; // Nothing to do
18515
18515
  // Workaround, for MS Windows touch screen (detected as mobile, but forced as desktop)
18516
- if (!mobile && win.document.documentElement.classList.contains('plt-mobile')) {
18516
+ if (!mobile && (win.document.documentElement.classList.contains('plt-mobile')
18517
+ || win.document.documentElement.classList.contains('plt-mobileweb'))) {
18517
18518
  console.warn('[platform] Force class list to: <html class="plt-desktop">. Workaround for Windows touch screen.');
18518
- win.document.documentElement.classList.replace('plt-mobile', 'plt-desktop');
18519
+ win.document.documentElement.classList.remove('plt-mobile', 'plt-mobileweb');
18520
+ win.document.documentElement.classList.add('plt-desktop');
18519
18521
  }
18520
18522
  };
18521
18523
  PlatformService.prototype.configureCordovaPlugins = function () {