fix: change the condition of google login judgment

This commit is contained in:
one0day
2023-04-17 15:01:12 +08:00
parent 29e977f0bf
commit 3d3b320ae1

View File

@@ -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;