From 35feef650f793ffbec2af51a18fd25d8b0beefb1 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Fri, 8 Dec 2023 20:08:44 +0100 Subject: import-export inbound #1300 --- web/html/common/text_modal.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'web/html/common/text_modal.html') diff --git a/web/html/common/text_modal.html b/web/html/common/text_modal.html index 2b455ae4..4fe2f175 100644 --- a/web/html/common/text_modal.html +++ b/web/html/common/text_modal.html @@ -31,7 +31,10 @@ this.clipboard = new ClipboardJS('#txt-modal-ok-btn', { text: () => this.content, }); - this.clipboard.on('success', () => app.$message.success('{{ i18n "copied" }}')); + this.clipboard.on('success', () => { + app.$message.success('{{ i18n "copied" }}') + this.close(); + }); } }); }, -- cgit v1.2.3