From 98fe6dd1c5e10b365d69f62a0feb9fb7028b2f48 Mon Sep 17 00:00:00 2001 From: josc146 Date: Mon, 3 Apr 2023 11:29:59 +0800 Subject: [PATCH] fix: popup compatibility --- src/popup/Popup.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/popup/Popup.jsx b/src/popup/Popup.jsx index e5df1b6..f2bf0dd 100644 --- a/src/popup/Popup.jsx +++ b/src/popup/Popup.jsx @@ -534,7 +534,7 @@ function Popup() { }, [config.themeMode, theme]) const search = new URLSearchParams(window.location.search) - const popup = search.get('popup') && !isMobile() // manifest v2 + const popup = !isMobile() && search.get('popup') // manifest v2 return (