@bobfrankston/rmfmail 1.2.78 → 1.2.80

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.
@@ -2393,9 +2393,9 @@ function popOutCurrentMessage() {
2393
2393
  if (!currentMessage)
2394
2394
  return;
2395
2395
  const isAndroid = window.mailxapi?.platform === "android";
2396
- const isCoarse = !!window.matchMedia?.("(pointer: coarse)")?.matches;
2396
+ const hasMouse = !!window.matchMedia?.("(any-pointer: fine)")?.matches;
2397
2397
  const isNarrow = window.innerWidth <= 768;
2398
- if (isAndroid || isCoarse || isNarrow) {
2398
+ if (isAndroid || isNarrow || !hasMouse) {
2399
2399
  document.body.classList.toggle("viewer-fullscreen");
2400
2400
  return;
2401
2401
  }