mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-31 17:53:49 -04:00
Reconnect websocket when window receives focus
This commit is contained in:
parent
6519b18aa0
commit
a24cb11e17
@ -93,6 +93,8 @@ export default {
|
||||
moment.locale(navigator.language)
|
||||
this.connect()
|
||||
|
||||
window.addEventListener(focus, () => this.connect())
|
||||
|
||||
// Start the progress bar on app start
|
||||
this.$Progress.start()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user