summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proto.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.js b/proto.js
index b8873fe..0630bbf 100644
--- a/proto.js
+++ b/proto.js
@@ -95,7 +95,7 @@ var socket_task;
var boards = document.getElementById("boards");
-if (BrowserDetect.browser == "Firefox") {
+if (BrowserDetect.browser == "Firefox" && BrowserDetect.version < 12) {
socket_task = new MozWebSocket(get_appropriate_ws_url(), "lws-task-protocol");
} else {
socket_task = new WebSocket(get_appropriate_ws_url(), "lws-task-protocol");