Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
fix/2175: shows loading text while image loads (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihakhanna committed Apr 4, 2017
1 parent c53297f commit af248ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/pages/shot/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ class Clip extends React.Component {
<menuitem label="Copy Image Text" onClick={this.copyImageText.bind(this)} ></menuitem>
</menu>
<a href={ clip.image.url } onClick={ this.onClickClip.bind(this) } contextMenu="clip-image-context">
{ this.renderSpinner() }
{ this.renderLoader() }
{ node }
</a>
</div>;
}

renderSpinner() {
renderLoader() {
if (!this.state.loading) {
return null;
}
Expand Down

0 comments on commit af248ad

Please sign in to comment.