aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 87ef90d8..40786d94 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -28,7 +28,8 @@ const Status = {
userExpanded: false,
preview: null,
showPreview: false,
- showingTall: false
+ showingTall: false,
+ showingContentWarningContent: false
}),
computed: {
muteWords () {
@@ -92,6 +93,9 @@ const Status = {
return 'small'
}
return 'normal'
+ },
+ clickThroughContentWarningsEnabled () {
+ return this.$store.state.config.clickThroughContentWarningsEnabled
}
},
components: {
@@ -145,6 +149,9 @@ const Status = {
toggleShowTall () {
this.showingTall = !this.showingTall
},
+ toggleContentWarningContent () {
+ this.showingContentWarningContent = !this.showingContentWarningContent
+ },
replyEnter (id, event) {
this.showPreview = true
const targetId = Number(id)