Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

send_later_popover: Fix invalid <div> inside <label>.

Anders Kaseorg287681d33137
diff --git a/web/templates/popovers/send_later_popover.hbs b/web/templates/popovers/send_later_popover.hbs
index 6db217bd6ed..f29206da16e 100644
--- a/web/templates/popovers/send_later_popover.hbs
+++ b/web/templates/popovers/send_later_popover.hbs
@@ -4,7 +4,7 @@
<div role="group" class="enter_sends_choices" aria-label="{{t 'Enter to send choices' }}">
<label role="menuitemradio" class="enter_sends_choice" tabindex="0">
<input type="radio" class="enter_sends_choice_radio" name="enter_sends_choice" value="true"{{#if enter_sends_true }} checked{{/if}} />
- <div class="enter_sends_choice_text_container">
+ <span class="enter_sends_choice_text_container">
<span class="enter_sends_major enter_sends_choice_text">
{{#tr}}
Press <z-shortcut></z-shortcut> to send
@@ -17,11 +17,11 @@
{{#*inline "z-shortcut"}}{{popover_hotkey_hints "Ctrl" "Enter"}}{{/inline}}
{{/tr}}
</span>
- </div>
+ </span>
</label>
<label role="menuitemradio" class="enter_sends_choice" tabindex="0">
<input type="radio" class="enter_sends_choice_radio" name="enter_sends_choice" value="false"{{#unless enter_sends_true }} checked{{/unless}} />
- <div class="enter_sends_choice_text_container">
+ <span class="enter_sends_choice_text_container">
<span class="enter_sends_major enter_sends_choice_text">
{{#tr}}
Press <z-shortcut></z-shortcut> to send
@@ -34,7 +34,7 @@
{{#*inline "z-shortcut"}}{{popover_hotkey_hints "Enter"}}{{/inline}}
{{/tr}}
</span>
- </div>
+ </span>
</label>
</div>
</li>