Skip to content

Commit 3afb441

Browse files
committed
fix: popup compatibility
1 parent f8f803d commit 3afb441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/popup/Popup.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ function Popup() {
534534
}, [config.themeMode, theme])
535535

536536
const search = new URLSearchParams(window.location.search)
537-
const popup = search.get('popup') && !isMobile() // manifest v2
537+
const popup = !isMobile() && search.get('popup') // manifest v2
538538

539539
return (
540540
<div className={popup === 'true' ? 'container-popup-mode' : 'container-page-mode'}>

0 commit comments

Comments
 (0)