From 30e20cb683c77bdf6e95351750cc0c436c302369 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Mon, 8 Aug 2022 17:27:19 -0700 Subject: [PATCH] =?UTF-8?q?why=20dont=20it=20work=20=F0=9F=98=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- packages/client/src/components/media-caption.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 48f0788da9..efe9d478e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "misskey", - "version": "12.118.1-calc.rc.4.5", + "version": "12.118.1-calc.rc.4.6", "codename": "aqua", "repository": { "type": "git", diff --git a/packages/client/src/components/media-caption.vue b/packages/client/src/components/media-caption.vue index d3fb553aa6..738ae166bb 100644 --- a/packages/client/src/components/media-caption.vue +++ b/packages/client/src/components/media-caption.vue @@ -152,10 +152,10 @@ export default defineComponent({ await worker.initialize('eng'); const { data: { text } } = await worker.recognize(imgurl); console.log(text); - document.getElementById('recognized-text').innerText = text; + // document.getElementById('recognized-text').innerText = text; // const allowedLength = 512 - this.inputValue.length; // this.inputValue += text.slice(0, allowedLength); - // await worker.terminate(); + await worker.terminate(); }, }, });