From 7a51d2f2cccbc0add04518808415912a7217bc28 Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Sun, 7 Jul 2024 11:55:59 +0200 Subject: Typo fixed --- web/html/common/qrcode_modal.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'web/html/common') diff --git a/web/html/common/qrcode_modal.html b/web/html/common/qrcode_modal.html index fd5a17b7..94e750c7 100644 --- a/web/html/common/qrcode_modal.html +++ b/web/html/common/qrcode_modal.html @@ -79,8 +79,8 @@ qrModal: qrModal, }, methods: { - copyToClipboard(elmentId, content) { - this.qrModal.clipboard = new ClipboardJS('#' + elmentId, { + copyToClipboard(elementId, content) { + this.qrModal.clipboard = new ClipboardJS('#' + elementId, { text: () => content, }); this.qrModal.clipboard.on('success', () => { @@ -88,9 +88,9 @@ this.qrModal.clipboard.destroy(); }); }, - setQrCode(elmentId, content) { + setQrCode(elementId, content) { new QRious({ - element: document.querySelector('#' + elmentId), + element: document.querySelector('#' + elementId), size: 400, value: content, background: 'white', -- cgit v1.2.3