summaryrefslogtreecommitdiff
path: root/src/client/app/common/scripts/post-form.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/common/scripts/post-form.ts')
-rw-r--r--src/client/app/common/scripts/post-form.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/app/common/scripts/post-form.ts b/src/client/app/common/scripts/post-form.ts
index 7cf26f65bf..ff3fd0792b 100644
--- a/src/client/app/common/scripts/post-form.ts
+++ b/src/client/app/common/scripts/post-form.ts
@@ -328,6 +328,7 @@ export default (opts) => ({
this.text = '';
this.files = [];
this.poll = false;
+ this.quoteId = null;
this.$emit('change-attached-files', this.files);
},
@@ -357,7 +358,7 @@ export default (opts) => ({
const paste = e.clipboardData.getData('text');
- if (paste.startsWith(url + '/notes/')) {
+ if (!this.renote && !this.quoteId && paste.startsWith(url + '/notes/')) {
e.preventDefault();
this.$root.dialog({