diff --git a/client/components/ChatInput.vue b/client/components/ChatInput.vue index edd29629..d2498ea3 100644 --- a/client/components/ChatInput.vue +++ b/client/components/ChatInput.vue @@ -275,7 +275,7 @@ export default { this.channel.inputHistory.splice(1, 0, text); } - // Limit input history to a 100 entries + // Limit input history to 100 entries if (this.channel.inputHistory.length > 100) { this.channel.inputHistory.pop(); } @@ -304,7 +304,8 @@ export default { { title: "Upload as file?", text: `You're trying to send a lot of text. Would you like to upload it?`, - button: "Upload", + confirmButton: "Upload", + cancelButton: "Send anyway", }, (result) => { if (!result) { diff --git a/client/components/ConfirmDialog.vue b/client/components/ConfirmDialog.vue index af92e368..6db0c989 100644 --- a/client/components/ConfirmDialog.vue +++ b/client/components/ConfirmDialog.vue @@ -6,8 +6,12 @@

{{ data.text }}

- - + +
diff --git a/client/js/helpers/contextMenu.js b/client/js/helpers/contextMenu.js index b17c3794..a2d1d4f9 100644 --- a/client/js/helpers/contextMenu.js +++ b/client/js/helpers/contextMenu.js @@ -154,7 +154,7 @@ export function generateChannelContextMenu($root, channel, network) { { title: "Clear history", text: `Are you sure you want to clear history for ${channel.name}? This cannot be undone.`, - button: "Clear history", + confirmButton: "Clear history", }, (result) => { if (!result) { diff --git a/client/js/vue.js b/client/js/vue.js index 18f913da..63e0ccbd 100644 --- a/client/js/vue.js +++ b/client/js/vue.js @@ -36,7 +36,7 @@ new Vue({ { title: "Remove network", text: `Are you sure you want to quit and remove ${channel.name}? This cannot be undone.`, - button: "Remove network", + confirmButton: "Remove network", }, (result) => { if (!result) {