We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a17548 commit fb691e2Copy full SHA for fb691e2
src/common/lib/utils.ts
@@ -80,7 +80,8 @@ const utils = {
80
)}?${urlParams.toString()}`;
81
82
// Window APIs might not be available on mobile browsers
83
- const useWindow = !!browser.windows;
+ // on iOS window APIs are available, but `windows.create` is not
84
+ const useWindow = !!(browser.windows && browser.windows.create);
85
86
// Either API yields a tabId
87
const tabId = useWindow
0 commit comments