Skip to content

Commit 14463ab

Browse files
committed
add iPadOs device check to overlay continue button
1 parent 53b96ac commit 14463ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/overlay/template.jsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import {
66
isIos,
7+
isIpadOs,
78
isFirefox,
89
animate,
910
noop,
@@ -95,7 +96,7 @@ export function Overlay({
9596
return;
9697
}
9798

98-
if (isIos()) {
99+
if (isIos() || isIpadOs()) {
99100
// Note: alerts block the event loop until they are closed.
100101
// eslint-disable-next-line no-alert
101102
window.alert("Please switch tabs to reactivate the PayPal window");

0 commit comments

Comments
 (0)