From abc63bc166a492ce7b6a8714f8bf22c873f9913e Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Tue, 29 Oct 2024 20:36:25 -0500 Subject: [PATCH] toggle traditional submit --- src/webpage/role.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/webpage/role.ts b/src/webpage/role.ts index 8618b1c..24a07f1 100644 --- a/src/webpage/role.ts +++ b/src/webpage/role.ts @@ -210,7 +210,8 @@ class RoleList extends Buttons{ const form=option.addSubForm("Display settings",()=>{},{ fetchURL:this.info.api+"/guilds/"+this.guild.id+"/roles/"+this.curid, method:"PATCH", - headers:this.headers + headers:this.headers, + traditionalSubmit:true }); form.addTextInput("Role Name:","name",{ initText:role.name