only show hand off message on desktop (#7965)
This commit is contained in:
parent
8fb5ef3035
commit
b46eb274bb
|
@ -28,7 +28,9 @@ window.addEventListener("load", () => {
|
|||
window.postMessage({ command: "duoResult", code: code, state: state }, "*");
|
||||
processAndDisplayHandoffMessage();
|
||||
} else if (client === "mobile" || client === "desktop") {
|
||||
processAndDisplayHandoffMessage();
|
||||
if (client === "desktop") {
|
||||
processAndDisplayHandoffMessage();
|
||||
}
|
||||
document.location.replace(
|
||||
mobileDesktopCallback +
|
||||
"?code=" +
|
||||
|
|
Loading…
Reference in New Issue