mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-09 12:02:39 +02:00
Update wallet.js (#2569)
enable 'Read' button after 'Paste from clipboard' click
This commit is contained in:
@@ -542,7 +542,7 @@ new Vue({
|
|||||||
pasteToTextArea: function () {
|
pasteToTextArea: function () {
|
||||||
this.$refs.textArea.focus() // Set cursor to textarea
|
this.$refs.textArea.focus() // Set cursor to textarea
|
||||||
navigator.clipboard.readText().then(text => {
|
navigator.clipboard.readText().then(text => {
|
||||||
this.$refs.textArea.value = text
|
this.parse.data.request = text.trim()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user