Skip to content

Commit

Permalink
fix: popup compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
josStorer committed Apr 3, 2023
1 parent f8f803d commit 3afb441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/popup/Popup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div className={popup === 'true' ? 'container-popup-mode' : 'container-page-mode'}>
Expand Down

0 comments on commit 3afb441

Please sign in to comment.