File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -918,7 +918,6 @@ const popup = (...kids) => {
918
918
} ;
919
919
let loginOpen = false ;
920
920
const login = async ( reason ) => {
921
- console . log ( 'login needed' , reason ) ;
922
921
return new Promise ( ( resolve , _ ) => {
923
922
const origFocus = document . activeElement ;
924
923
let reasonElem ;
@@ -946,6 +945,7 @@ const login = async (reason) => {
946
945
requestPasswordReset ( ) ;
947
946
} ) ) ) ) ) ) ) ;
948
947
document . body . appendChild ( root ) ;
948
+ document . body . classList . toggle ( 'loading' , false ) ;
949
949
username . focus ( ) ;
950
950
loginOpen = true ;
951
951
} ) ;
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ const popup = (...kids: ElemArg[]) => {
63
63
64
64
let loginOpen = false
65
65
const login = async ( reason : string ) => {
66
- console . log ( 'login needed' , reason )
67
66
return new Promise < string > ( ( resolve : ( v : string ) => void , _ ) => {
68
67
const origFocus = document . activeElement
69
68
let reasonElem : HTMLElement
@@ -133,6 +132,7 @@ const login = async (reason: string) => {
133
132
)
134
133
)
135
134
document . body . appendChild ( root )
135
+ document . body . classList . toggle ( 'loading' , false )
136
136
username . focus ( )
137
137
loginOpen = true
138
138
} )
You can’t perform that action at this time.
0 commit comments