From 3d3b320ae142ca52450aefbc61c0891f4f3497f5 Mon Sep 17 00:00:00 2001 From: one0day <691243937@qq.com> Date: Mon, 17 Apr 2023 15:01:12 +0800 Subject: [PATCH] fix: change the condition of google login judgment --- src-tauri/src/inject/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/inject/event.js b/src-tauri/src/inject/event.js index 9e3a04b..6a600e9 100644 --- a/src-tauri/src/inject/event.js +++ b/src-tauri/src/inject/event.js @@ -143,7 +143,7 @@ document.addEventListener('DOMContentLoaded', () => { // Apple login and google login if (name === 'AppleAuthentication') { //do nothing - } else if (specs.includes('height=') || specs.includes('height=')) { + } else if (specs.includes('height=') || specs.includes('width=')) { location.href = url; } else { const baseUrl = window.location.origin + window.location.pathname;