mirror of
https://github.com/kaythomas0/noisedash.git
synced 2025-11-16 13:08:04 +00:00
Stop playback when leaving home page
This commit is contained in:
@@ -80,6 +80,9 @@ export default {
|
||||
this.getSamples()
|
||||
this.getCurrentUser()
|
||||
},
|
||||
beforeDestroy () {
|
||||
this.stop()
|
||||
},
|
||||
methods: {
|
||||
play () {
|
||||
this.playDisabled = true
|
||||
|
||||
Reference in New Issue
Block a user