Skip to content

Commit

Permalink
Merge pull request katspaugh#684 from h0lyalg0rithm/region_remove
Browse files Browse the repository at this point in the history
Region not required when removing it
  • Loading branch information
katspaugh committed Mar 28, 2016
2 parents 4080659 + f7bbe87 commit b0d8457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/wavesurfer.regions.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ WaveSurfer.Region = {
},

/* Remove a single region. */
remove: function (region) {
remove: function () {
if (this.element) {
this.wrapper.removeChild(this.element);
this.element = null;
Expand Down

0 comments on commit b0d8457

Please sign in to comment.