Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F140591
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/src/components/status_action_buttons/action_button.js b/src/components/status_action_buttons/action_button.js
index b87e0768..193a96ee 100644
--- a/src/components/status_action_buttons/action_button.js
+++ b/src/components/status_action_buttons/action_button.js
@@ -112,11 +112,12 @@ export default {
this.$store.dispatch('reactWithEmoji', { id: this.status.id, emoji })
}
},
- doActionWrap (button) {
+ doActionWrap (button, close) {
if (button.name === 'emoji') {
this.$refs.picker.showPicker()
} else {
this.getComponent(button) === 'button' && this.doAction(button)
+ close()
}
}
}
diff --git a/src/components/status_action_buttons/action_button.vue b/src/components/status_action_buttons/action_button.vue
index 40d3397c..b9dca881 100644
--- a/src/components/status_action_buttons/action_button.vue
+++ b/src/components/status_action_buttons/action_button.vue
@@ -8,11 +8,12 @@
class="action-button-inner"
:class="buttonInnerClass"
role="menuitem"
+ type="button"
+ target="_blank"
:tabindex="0"
:disabled="buttonClass.disabled"
:href="getComponent(button) == 'a' ? button.link?.(funcArg) || getRemoteInteractionLink : undefined"
- @click.prevent="doActionWrap(button)"
- @click="button.name === 'emoji' ? () => {} : close()"
+ @click="doActionWrap(button, close)"
>
<FALayers>
<FAIcon
diff --git a/src/components/status_action_buttons/action_button_container.vue b/src/components/status_action_buttons/action_button_container.vue
index 0cde21ef..407fd15f 100644
--- a/src/components/status_action_buttons/action_button_container.vue
+++ b/src/components/status_action_buttons/action_button_container.vue
@@ -6,7 +6,6 @@
v-if="button.dropdown?.()"
>
<template #trigger>
- {{ props }}
<ActionButton
:button="button"
:status="status"
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Jan 20, 11:45 AM (1 d, 4 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
55569
Default Alt Text
(1 KB)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment