fix: insert into correct textarea

This commit is contained in:
ThatOneCalculator 2022-12-16 10:40:08 -08:00
parent b395874945
commit 71f9378d35
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)));
}); });
}, },
}, },