fix: insert into correct textarea

This commit is contained in:
ThatOneCalculator 2022-12-16 10:40:08 -08:00
parent eecf0ccce3
commit 1fb3f16f37
No known key found for this signature in database
GPG key ID: 8703CACD01000000
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "calckey", "name": "calckey",
"version": "13.0.2", "version": "13.0.3",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",

View file

@ -148,7 +148,7 @@ export default defineComponent({
os.api('drive/files/caption-image', { os.api('drive/files/caption-image', {
url: img.src, url: img.src,
}).then(text => { }).then(text => {
insertTextAtCursor(text.slice(0, (512 - ta.value.length))); insertTextAtCursor(ta, text.slice(0, (512 - ta.value.length)));
}); });
}, },
}, },