Prevent autoplay on page load

pull/47/head
Nikan Dalvand 2019-08-02 23:38:55 +04:30
parent e140150de5
commit 0d9218f642
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ export default {
let map = this.wavesurfer.minimap.drawer.container let map = this.wavesurfer.minimap.drawer.container
this.wavesurfer.container.style['height'] = '100%' this.wavesurfer.container.style['height'] = '100%'
map.style['height'] = '100%' map.style['height'] = '100%'
if (readyCounter > 0) { if (readyCounter > 2) {
this.play() this.play()
} }
}) })