mirror of
https://github.com/janishutz/MusicPlayerV2.git
synced 2025-11-25 04:54:23 +00:00
add missing element for reconnecting
This commit is contained in:
@@ -139,6 +139,7 @@ createApp( {
|
|||||||
};
|
};
|
||||||
|
|
||||||
source.onopen = () => {
|
source.onopen = () => {
|
||||||
|
this.isReconnecting = false;
|
||||||
this.hasLoaded = true;
|
this.hasLoaded = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ createApp( {
|
|||||||
};
|
};
|
||||||
|
|
||||||
source.onopen = () => {
|
source.onopen = () => {
|
||||||
|
this.isReconnecting = false;
|
||||||
this.hasLoaded = true;
|
this.hasLoaded = true;
|
||||||
if ( document.fonts.status === 'loaded' ) {
|
if ( document.fonts.status === 'loaded' ) {
|
||||||
document.getElementById( 'loading' ).classList.remove( 'loading' );
|
document.getElementById( 'loading' ).classList.remove( 'loading' );
|
||||||
|
|||||||
@@ -641,6 +641,7 @@ const app = Vue.createApp( {
|
|||||||
};
|
};
|
||||||
|
|
||||||
source.onopen = () => {
|
source.onopen = () => {
|
||||||
|
this.isReconnecting = false;
|
||||||
console.log( 'client notifier connected successfully' );
|
console.log( 'client notifier connected successfully' );
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -138,6 +138,7 @@ createApp( {
|
|||||||
};
|
};
|
||||||
|
|
||||||
source.onopen = () => {
|
source.onopen = () => {
|
||||||
|
this.isReconnecting = false;
|
||||||
this.hasLoaded = true;
|
this.hasLoaded = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user