Show body when displaying sign-in button on opacity:0 pages
This commit is contained in:
@@ -90,6 +90,7 @@ export async function init() {
|
|||||||
|
|
||||||
const signin = document.getElementById('signin');
|
const signin = document.getElementById('signin');
|
||||||
signin.style.display = 'flex';
|
signin.style.display = 'flex';
|
||||||
|
document.body.style.opacity = 1;
|
||||||
|
|
||||||
profile = await new Promise((resolve) => {
|
profile = await new Promise((resolve) => {
|
||||||
google.accounts.id.initialize({
|
google.accounts.id.initialize({
|
||||||
|
|||||||
Reference in New Issue
Block a user