Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-03-18 19:53:29 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-03-18 19:53:29 +0300
commitb7f476568bd6dd85a0e43591386a7d101357630b (patch)
treec3de339a813f2ee82657dc69e95a8ad96c5d9486 /web/html/common/qrcode_modal.html
parent40c2f5206bf443bb2746ec6e7bd2264cb1da5038 (diff)
bug fixedv1.1.0
Diffstat (limited to 'web/html/common/qrcode_modal.html')
-rw-r--r--web/html/common/qrcode_modal.html16
1 files changed, 7 insertions, 9 deletions
diff --git a/web/html/common/qrcode_modal.html b/web/html/common/qrcode_modal.html
index 6c9afbb3..e535b401 100644
--- a/web/html/common/qrcode_modal.html
+++ b/web/html/common/qrcode_modal.html
@@ -32,15 +32,13 @@
}
this.visible = true;
qrModalApp.$nextTick(() => {
- if (this.clipboard === null) {
- this.clipboard = new ClipboardJS('#qr-modal-ok-btn', {
- text: () => this.copyText,
- });
- this.clipboard.on('success', () => {
- app.$message.success('{{ i18n "copied" }}')
- this.clipboard.destroy();
- });
- }
+ this.clipboard = new ClipboardJS('#qr-modal-ok-btn', {
+ text: () => this.copyText,
+ });
+ this.clipboard.on('success', () => {
+ app.$message.success('{{ i18n "copied" }}')
+ this.clipboard.destroy();
+ });
if (this.qrcode === null) {
this.qrcode = new QRious({
element: document.querySelector('#qrCode'),