summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-08-27 11:05:18 -0700
committer=Corey Hulen <corey@hulen.com>2015-08-27 11:05:18 -0700
commit30f22ec9c757d41038a8fcaa4c3ea963301d2574 (patch)
tree138d93550fae35285653f80bd11686f2750445dd /web/react/components
parentdb7e8c12889485234fb2d1ba6556106e5fc7548b (diff)
downloadchat-30f22ec9c757d41038a8fcaa4c3ea963301d2574.tar.gz
chat-30f22ec9c757d41038a8fcaa4c3ea963301d2574.tar.bz2
chat-30f22ec9c757d41038a8fcaa4c3ea963301d2574.zip
MM-2033 fixes img showing infinity progress
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/view_image.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/react/components/view_image.jsx b/web/react/components/view_image.jsx
index 24efce0f1..c65cd9bb5 100644
--- a/web/react/components/view_image.jsx
+++ b/web/react/components/view_image.jsx
@@ -248,6 +248,7 @@ module.exports = React.createClass({
// display a progress indicator when the preview for an image is still loading
var percentage = Math.floor(this.state.progress[this.state.imgId]);
if (percentage) {
+
content = (
<div>
<img className='loader-image' src='/static/images/load.gif' />