From 760f11f1ce138b1afdf3c44b10e0887bdf1704c1 Mon Sep 17 00:00:00 2001 From: schneimi <233221+schneimi@users.noreply.github.com> Date: Tue, 9 Jul 2024 14:57:03 +0200 Subject: [PATCH] Update wallet.js (#2569) enable 'Read' button after 'Paste from clipboard' click --- lnbits/static/js/wallet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/static/js/wallet.js b/lnbits/static/js/wallet.js index 3c48bda80..38ad63aa7 100644 --- a/lnbits/static/js/wallet.js +++ b/lnbits/static/js/wallet.js @@ -542,7 +542,7 @@ new Vue({ pasteToTextArea: function () { this.$refs.textArea.focus() // Set cursor to textarea navigator.clipboard.readText().then(text => { - this.$refs.textArea.value = text + this.parse.data.request = text.trim() }) } },