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.

upload_widget: Use img tag for tail-spin.svg instead of object tag.

sahil839be8e7fdfb66f
diff --git a/static/templates/settings/image_upload_widget.hbs b/static/templates/settings/image_upload_widget.hbs
index bf5f841dbd5..30f175ce513 100644
--- a/static/templates/settings/image_upload_widget.hbs
+++ b/static/templates/settings/image_upload_widget.hbs
@@ -11,7 +11,7 @@
{{ upload_text }}
</span>
<span class="upload-spinner-background">
- <object class="image_upload_spinner" type="image/svg+xml" data="/static/images/tail-spin.svg"></object>
+ <img class="image_upload_spinner" src="/static/images/tail-spin.svg" alt="" />
</span>
</div>
<img class="image-block" src="{{ image }}"/>