From 0e30bf8138c61dee21a59e15c4691eaf6a41d931 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Thu, 27 May 2021 10:30:57 +0200 Subject: [PATCH] Add another firefox bug handler --- src/index.html | 2 +- src/js/connectivity.js | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/index.html b/src/index.html index 3ebce95..446ff39 100644 --- a/src/index.html +++ b/src/index.html @@ -202,6 +202,6 @@ - + \ No newline at end of file diff --git a/src/js/connectivity.js b/src/js/connectivity.js index 31add85..73425ed 100644 --- a/src/js/connectivity.js +++ b/src/js/connectivity.js @@ -131,7 +131,12 @@ function test_browser() { if (fb_time > 1000) { lclass = "warning"; } - $p.find(".browser_fallback").html("to IPv" + resp2.protocol + " in " + label + ""); + if (resp.protocol == resp2.protocol) { + $p.find(".browser_fallback").html("Browser error, see this bug"); + } + else { + $p.find(".browser_fallback").html("to IPv" + resp2.protocol + " in " + label + ""); + } }, error: function(xopt, err) { $p.find(".browser_fallback").html("No");