mirror of
https://github.com/janishutz/MusicPlayerV2.git
synced 2025-11-25 04:54:23 +00:00
small bugfix
This commit is contained in:
@@ -46,6 +46,7 @@ const app = Vue.createApp( {
|
||||
rawLoadedPlaylistData: {},
|
||||
basePath: '',
|
||||
audioPlayer: null,
|
||||
isReconnecting: false,
|
||||
|
||||
// slider
|
||||
offset: 0,
|
||||
@@ -653,7 +654,11 @@ const app = Vue.createApp( {
|
||||
}
|
||||
|
||||
setTimeout( () => {
|
||||
self.connectToNotifier();
|
||||
if ( !self.isReconnecting ) {
|
||||
self.isReconnecting = true;
|
||||
self.connect();
|
||||
self.isReconnecting = false;
|
||||
}
|
||||
}, 1000 );
|
||||
}, false );
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user