Merge pull request #392 from one0day/master

fix: change the condition of google login judgment
This commit is contained in:
Tw93
2023-04-17 15:40:40 +08:00
committed by GitHub

View File

@@ -143,7 +143,7 @@ document.addEventListener('DOMContentLoaded', () => {
// Apple login and google login // Apple login and google login
if (name === 'AppleAuthentication') { if (name === 'AppleAuthentication') {
//do nothing //do nothing
} else if (specs.includes('height=') || specs.includes('height=')) { } else if (specs.includes('height=') || specs.includes('width=')) {
location.href = url; location.href = url;
} else { } else {
const baseUrl = window.location.origin + window.location.pathname; const baseUrl = window.location.origin + window.location.pathname;