From be2c07b83c016fc75c1be535fcee9ee525e0e4a8 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 11 Feb 2026 18:59:32 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16981 --- app/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/index.ts b/app/src/index.ts index 7418d4d93..28a89fa41 100644 --- a/app/src/index.ts +++ b/app/src/index.ts @@ -213,7 +213,7 @@ export class App { setTitle(window.siyuan.languages.siyuanNote); initMessage(); /// #if BROWSER && !MOBILE - if (!isChromeBrowser()) { + if ((window.siyuan.config.readonly || window.siyuan.isPublish) && !isChromeBrowser()) { showMessage(window.siyuan.languages.useChrome, 0, "error"); } /// #endif