Allow confirmation on closing reply form

This commit is contained in:
tusooa 2023-04-06 14:15:57 -04:00
commit fb87477298
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
11 changed files with 170 additions and 14 deletions

View file

@ -45,6 +45,11 @@ const GeneralTab = {
value: mode,
label: this.$t(`settings.user_popover_avatar_action_${mode}`)
})),
unsavedPostActionOptions: ['save', 'discard', 'confirm'].map(mode => ({
key: mode,
value: mode,
label: this.$t(`settings.unsaved_post_action_${mode}`)
})),
loopSilentAvailable:
// Firefox
Object.getOwnPropertyDescriptor(HTMLVideoElement.prototype, 'mozHasAudio') ||