Add another firefox bug handler
This commit is contained in:
parent
c01bc1c784
commit
0e30bf8138
|
@ -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>
|
|
@ -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>");
|
||||
|
|
Loading…
Reference in a new issue