From 9c317b0495862a9eb43748779d61129e9ab592fd Mon Sep 17 00:00:00 2001 From: Vinit Singh Date: Fri, 31 Jul 2020 01:10:03 +0530 Subject: [PATCH] compose: Replace hrefs with "tabindex=0" for all buttons. For all buttons in the compose box, `href="#"` is replaced by "tabindex=0" so that the buttons are still focusable. This change also fixes a bug that caused the Formatting button to redirect to All messages. --- templates/zerver/app/compose.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/zerver/app/compose.html b/templates/zerver/app/compose.html index f43b4c476f..63ffa462bb 100644 --- a/templates/zerver/app/compose.html +++ b/templates/zerver/app/compose.html @@ -95,14 +95,14 @@
- - + + {% if max_file_upload_size_mib > 0 %} - + {% endif %} - - - + + + {{ _('Drafts') }}