We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecccc7e commit 2e94629Copy full SHA for 2e94629
bridge/webui.ts
@@ -516,11 +516,9 @@ class WebuiBridge {
516
#wsOnClose = (event: CloseEvent) => {
517
if (this.#closeReason === this.#CMD_NAVIGATION) {
518
this.#closeReason = 0;
519
- if (this.#log) {
520
- console.log(`WebUI -> Connection lost. Navigation to [${this.#closeValue}]`);
521
- this.#allowNavigation = true;
522
- globalThis.location.replace(this.#closeValue);
523
- }
+ if (this.#log) console.log(`WebUI -> Connection lost. Navigation to [${this.#closeValue}]`);
+ this.#allowNavigation = true;
+ globalThis.location.replace(this.#closeValue);
524
} else {
525
if (this.#wsStayAlive) {
526
// Re-connect
0 commit comments