Add another firefox bug handler

This commit is contained in:
Laura Hausmann 2021-05-27 10:30:57 +02:00
parent c01bc1c784
commit 0e30bf8138
Signed by: zotan
GPG key ID: D044E84C5BE01605
2 changed files with 7 additions and 2 deletions

View file

@ -202,6 +202,6 @@
</div>
<script src="/js/vendor/jquery.min.js"></script>
<script src="/js/vendor/bootstrap.min.js"></script>
<script src="/js/connectivity.js?v=4"></script>
<script src="/js/connectivity.js?v=5"></script>
</body>
</html>

View file

@ -131,7 +131,12 @@ function test_browser() {
if (fb_time > 1000) {
lclass = "warning";
}
$p.find(".browser_fallback").html("<span class='label label-" + lclass + "'>to IPv" + resp2.protocol + " in " + label + "</span>");
if (resp.protocol == resp2.protocol) {
$p.find(".browser_fallback").html("<span class='label label-danger'>Browser error, see <a href='https://bugzilla.mozilla.org/show_bug.cgi?id=1709564'>this bug</a></span>");
}
else {
$p.find(".browser_fallback").html("<span class='label label-" + lclass + "'>to IPv" + resp2.protocol + " in " + label + "</span>");
}
},
error: function(xopt, err) {
$p.find(".browser_fallback").html("<span class='label label-danger'>No</span>");