diff --git a/js/ui.js b/js/ui.js index 39883506..3d20c71a 100644 --- a/js/ui.js +++ b/js/ui.js @@ -1140,7 +1140,7 @@ function adjustSpecDims(redraw, fftSamples) { reset: false }); } else { - wavesurfer.setOptions({height:specHeight}); + wavesurfer.setHeight(specHeight); } initSpectrogram(specHeight, fftSamples); specCanvasElement.width('100%');