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.

templates: Fix invalid <div class="modal__spinner"> inside <button>.

Anders Kaseorg9e8c9b68f6d4
diff --git a/web/templates/dialog_widget.hbs b/web/templates/dialog_widget.hbs
index 6d5c4041f84..35871bf217c 100644
--- a/web/templates/dialog_widget.hbs
+++ b/web/templates/dialog_widget.hbs
@@ -28,7 +28,7 @@
<div class="dialog_submit_button_container">
<button class="modal__button dialog_submit_button"{{#if single_footer_button}} aria-label="{{t 'Close this dialog window' }}" data-micromodal-close{{/if}}>
<span class="submit-button-text">{{{ submit_button_html }}}</span>
- <div class="modal__spinner"></div>
+ <span class="modal__spinner"></span>
</button>
</div>
</footer>
diff --git a/web/templates/user_profile_modal.hbs b/web/templates/user_profile_modal.hbs
index 2f7b2bab77c..e40eb5beddd 100644
--- a/web/templates/user_profile_modal.hbs
+++ b/web/templates/user_profile_modal.hbs
@@ -173,7 +173,7 @@
<button type="button" class="modal__button dialog_exit_button" aria-label="{{t 'Close this dialog window' }}" data-micromodal-close>{{t "Cancel" }}</button>
<button type="button" class="modal__button dialog_submit_button">
<span class="submit-button-text">{{t "Save changes"}}</span>
- <div class="modal__spinner"></div>
+ <span class="modal__spinner"></span>
</button>
</footer>
</div>