From e6e599ee8c3a3ca43f3b05431933a4fc9c30a8e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=8B=E3=81=A3=E3=81=93=E3=81=8B=E3=82=8A?= <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Thu, 18 Jul 2024 18:59:32 +0900 Subject: [PATCH] Update MkEmbedCodeGenDialog.vue --- packages/frontend/src/components/MkEmbedCodeGenDialog.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/MkEmbedCodeGenDialog.vue b/packages/frontend/src/components/MkEmbedCodeGenDialog.vue index 3e0c9e14a0..dec2efc404 100644 --- a/packages/frontend/src/components/MkEmbedCodeGenDialog.vue +++ b/packages/frontend/src/components/MkEmbedCodeGenDialog.vue @@ -104,7 +104,7 @@ import MkInfo from '@/components/MkInfo.vue'; import * as os from '@/os.js'; import { i18n } from '@/i18n.js'; import { url } from '@/config.js'; -import copy from '@/scripts/copy-to-clipboard.js'; +import { copyToClipboard } from '@/scripts/copy-to-clipboard.js'; import { normalizeEmbedParams, getEmbedCode } from '@/scripts/get-embed-code.js'; import { embedRouteWithScrollbar } from '@/scripts/embed-page.js'; import type { EmbeddableEntity, EmbedParams } from '@/scripts/embed-page.js'; @@ -199,7 +199,7 @@ function generate() { } function doCopy() { - copy(result.value); + copyToClipboard(result.value); os.success(); } //#endregion