mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
There is no clear reason to not use a button element here. According to the spec pharasing content, which includes the <span> element, are allowed in the button element. Manually tested both buttons to make sure it works and made sure all the selectors are updated by grepping all the selector classes/id in the handlebars templates that are parents of the button or are present on the button. (One of the jQuery handler code got reformatted due to it fitting the line limit due to one character deletion for the selector)