Update MkEmbedCodeGenDialog.vue
This commit is contained in:
parent
ca7992b1ab
commit
e6e599ee8c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue