Skip to content

Commit

Permalink
Merge pull request #66 from mattheu/fix-spinner
Browse files Browse the repository at this point in the history
Toggle active class on spinner
  • Loading branch information
nickdaugherty committed Nov 13, 2015
2 parents 0d060b7 + b73013b commit 7e578d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/mexp.js
Expand Up @@ -268,7 +268,7 @@ media.view.MEXP = media.View.extend({
loading: function() {

// show spinner
this.$el.find( '.spinner' ).show();
this.$el.find( '.spinner' ).addClass( 'is-active' );

// hide messages
this.$el.find( '.mexp-error' ).hide().text('');
Expand All @@ -281,7 +281,7 @@ media.view.MEXP = media.View.extend({
loaded: function( response ) {

// hide spinner
this.$el.find( '.spinner' ).hide();
this.$el.find( '.spinner' ).removeClass( 'is-active' );

},

Expand Down

0 comments on commit 7e578d5

Please sign in to comment.