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. p.text-danger Changing layouts may require refreshing to take effect.
mixin rcheckbox("us-no-channelcss", "Ignore Channel CSS") mixin rcheckbox("us-no-channelcss", "Ignore Channel CSS")
mixin rcheckbox("us-no-channeljs", "Ignore Channel Javascript") mixin rcheckbox("us-no-channeljs", "Ignore Channel Javascript")
.col-sm-4
.col-sm-8
p#us-conninfo.text-info <strong>Connection Information: </strong>
.clear .clear
mixin us-scripts mixin us-scripts

View File

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

View File

@ -624,23 +624,6 @@ function showUserOptions() {
$("#us-layout").val(USEROPTS.layout); $("#us-layout").val(USEROPTS.layout);
$("#us-no-channelcss").prop("checked", USEROPTS.ignore_channelcss); $("#us-no-channelcss").prop("checked", USEROPTS.ignore_channelcss);
$("#us-no-channeljs").prop("checked", USEROPTS.ignore_channeljs); $("#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").prop("checked", USEROPTS.synch);
$("#us-synch-accuracy").val(USEROPTS.sync_accuracy); $("#us-synch-accuracy").val(USEROPTS.sync_accuracy);