Skip to content

Commit

Permalink
Not broken :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattk70 committed Nov 7, 2023
1 parent 2d0175b commit 2f9b61e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ function createTimeline() {
}

const resetRegions = () => {
if (wavesurfer) wavesurfer.regions.clearRegions();
if (wavesurfer) wavesurfer.clearRegions();
region = undefined;
disableMenuItem(['analyseSelection', 'export-audio']);
if (fileLoaded) enableMenuItem(['analyse']);
Expand Down

0 comments on commit 2f9b61e

Please sign in to comment.