diff --git a/src/webpage/direct.ts b/src/webpage/direct.ts index ab5eebd..bc462d2 100644 --- a/src/webpage/direct.ts +++ b/src/webpage/direct.ts @@ -502,6 +502,9 @@ class Group extends Channel { form.addImageInput(I18n.channel.icon(), "icon", { initImg: this.icon ? this.iconUrl() : undefined, }); + form.onSubmit = () => { + dio.hide(); + }; dio.show(); } defaultName() {