Skip to content

Commit

Permalink
Update ladda.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Markiewka committed Sep 20, 2015
1 parent 2968972 commit d883e0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dist/ladda.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@
return this;
},
remove: function() {
if (this.isLoading()) {
this.stop();
}
spinnerWrapper.parentNode.removeChild(spinnerWrapper);
return this;
},
Expand Down

0 comments on commit d883e0d

Please sign in to comment.