add "noImplicitThis":true

This commit is contained in:
MathMan05
2024-08-19 12:19:42 -05:00
parent ec2fc491d9
commit ce3ea3a271
17 changed files with 58 additions and 59 deletions

View File

@@ -263,7 +263,7 @@ async function login(username:string, password:string, captcha:string){
console.log(response);
if(response.ticket){
let onetimecode="";
new Dialog(["vdiv",["title","2FA code:"],["textbox","","",function(){onetimecode=this.value}],["button","","Submit",function(){
new Dialog(["vdiv",["title","2FA code:"],["textbox","","",function(this:HTMLInputElement){onetimecode=this.value}],["button","","Submit",function(){
fetch(api+"/auth/mfa/totp",{
method:"POST",
headers:{