diff options
| author | sobadon <sbdn@chasoba.net> | 2020-10-30 18:22:14 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-30 18:22:14 +0900 |
| commit | e2e262c8ce448c292220166deb4d53c6c6cc4706 (patch) | |
| tree | 32f1c32872a032a1e9f1eea0170491c5f7ed2c11 /src/client/components | |
| parent | 検索ショートカットが使えないのを修正 (#6783) (diff) | |
| download | sharkey-e2e262c8ce448c292220166deb4d53c6c6cc4706.tar.gz sharkey-e2e262c8ce448c292220166deb4d53c6c6cc4706.tar.bz2 sharkey-e2e262c8ce448c292220166deb4d53c6c6cc4706.zip | |
リンクをコピーでパスしかコピーされない問題を修正 (#6785)
Diffstat (limited to 'src/client/components')
| -rw-r--r-- | src/client/components/ui/a.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/components/ui/a.vue b/src/client/components/ui/a.vue index e11fecbe78..98f9212545 100644 --- a/src/client/components/ui/a.vue +++ b/src/client/components/ui/a.vue @@ -10,7 +10,7 @@ import { faExpandAlt, faColumns, faExternalLinkAlt, faLink, faWindowMaximize } f import * as os from '@/os'; import copyToClipboard from '@/scripts/copy-to-clipboard'; import { router } from '@/router'; -import { deckmode } from '@/config'; +import { deckmode, url } from '@/config'; export default defineComponent({ inject: { @@ -82,7 +82,7 @@ export default defineComponent({ icon: faLink, text: this.$t('copyLink'), action: () => { - copyToClipboard(this.to); + copyToClipboard(`${url}${this.to}`); } }], e); }, |