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>2024-07-07 12:55:59 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-07-07 13:10:24 +0300
commit7a51d2f2cccbc0add04518808415912a7217bc28 (patch)
treecc4bce27d16caec5361d51de676eecd0c628ad0d /web/html/common/qrcode_modal.html
parent02ae61fe6beb68ab8e5859a5eaa2b68514c0b454 (diff)
Typo fixed
Diffstat (limited to 'web/html/common/qrcode_modal.html')
-rw-r--r--web/html/common/qrcode_modal.html8
1 files changed, 4 insertions, 4 deletions
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',