add missing element for reconnecting

This commit is contained in:
2023-11-25 11:13:30 +01:00
parent 01a278eda2
commit d3b5a34e5f
4 changed files with 4 additions and 0 deletions

View File

@@ -139,6 +139,7 @@ createApp( {
}; };
source.onopen = () => { source.onopen = () => {
this.isReconnecting = false;
this.hasLoaded = true; this.hasLoaded = true;
}; };

View File

@@ -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' );

View File

@@ -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' );
}; };

View File

@@ -138,6 +138,7 @@ createApp( {
}; };
source.onopen = () => { source.onopen = () => {
this.isReconnecting = false;
this.hasLoaded = true; this.hasLoaded = true;
}; };