From a263733971e141ef48db68fe950203ca98536e84 Mon Sep 17 00:00:00 2001 From: Henry Heino <46334387+personalizedrefrigerator@users.noreply.github.com> Date: Sun, 6 Sep 2026 12:12:36 -0700 Subject: [PATCH] Web: Fix incorrect "Only one copy of Joplin can be open at a time" warning in Safari and Firefox (#16405) --- packages/app-mobile/web/public/info-page.css | 8 +++ .../web/public/just-one-client.html | 72 ++++++++++++++----- 2 files changed, 61 insertions(+), 19 deletions(-) diff --git a/packages/app-mobile/web/public/info-page.css b/packages/app-mobile/web/public/info-page.css index 59acc6b1ce..993b33734b 100644 --- a/packages/app-mobile/web/public/info-page.css +++ b/packages/app-mobile/web/public/info-page.css @@ -23,6 +23,14 @@ main { margin-right: auto; } +main.-loading > #only-one-copy-message { + display: none; +} + +main:not(.-loading) > #loading-message { + display: none; +} + @media screen and (prefers-color-scheme: dark) { :root { --bg-secondary: black; diff --git a/packages/app-mobile/web/public/just-one-client.html b/packages/app-mobile/web/public/just-one-client.html index dc0f23a9f0..c23fffaf62 100644 --- a/packages/app-mobile/web/public/just-one-client.html +++ b/packages/app-mobile/web/public/just-one-client.html @@ -11,30 +11,64 @@ -
-

⚠️ Error: Only one copy of Joplin can be open at a time ⚠️

-

- At present, the Joplin web client only supports one open copy at a time in the same browser. This restriction is present to keep your data safe. -

-

- To use Joplin in this tab, please , - then this page. -

+
+
+

⚠️ Error: Only one copy of Joplin can be open at a time ⚠️

+

+ At present, the Joplin web client only supports one open copy at a time in the same browser. This restriction is present to keep your data safe. +

+

+ To use Joplin in this tab, please , + then this page. +

+
+
+

Loading...

+
\ No newline at end of file