Fix for Wii U browser

Apparently it doesn't send the login cookie if you explicitly set the
socket.io transports to prefer websockets.  Magic.
This commit is contained in:
calzoneman 2015-10-29 20:50:10 -07:00
parent a8cc8e4b04
commit 44745d86ac
3 changed files with 0 additions and 21 deletions

View file

@ -49,9 +49,6 @@ mixin us-general
p.text-danger Changing layouts may require refreshing to take effect.
mixin rcheckbox("us-no-channelcss", "Ignore Channel CSS")
mixin rcheckbox("us-no-channeljs", "Ignore Channel Javascript")
.col-sm-4
.col-sm-8
p#us-conninfo.text-info <strong>Connection Information: </strong>
.clear
mixin us-scripts

View file

@ -1138,7 +1138,6 @@ setupCallbacks = function() {
}
var opts = {
transports: ["websocket", "polling"],
secure: chosenServer.secure
};

View file

@ -624,23 +624,6 @@ function showUserOptions() {
$("#us-layout").val(USEROPTS.layout);
$("#us-no-channelcss").prop("checked", USEROPTS.ignore_channelcss);
$("#us-no-channeljs").prop("checked", USEROPTS.ignore_channeljs);
var conninfo = "<strong>Connection Information: </strong>" +
"Connected to <code>" + IO_URL + "</code> (";
if (IO_V6) {
conninfo += "IPv6, ";
} else {
conninfo += "IPv4, ";
}
if (IO_URL === IO_URLS["ipv4-ssl"] || IO_URL === IO_URLS["ipv6-ssl"]) {
conninfo += "SSL)";
} else {
conninfo += "no SSL)";
}
conninfo += ". SSL is enabled by default if it is supported by the server.";
$("#us-conninfo").html(conninfo);
$("#us-synch").prop("checked", USEROPTS.synch);
$("#us-synch-accuracy").val(USEROPTS.sync_accuracy);