summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Suhr Christensen <jsc@umbraculum.org>2012-06-14 11:55:37 +0200
committerJonas Suhr Christensen <jsc@umbraculum.org>2012-06-14 11:55:37 +0200
commit6040e48d9cff1d24990028701e11a4f8ee8db34f (patch)
treed7e49970da29fa545a203d44c27b0ff70966dcb1
parenteb8b23218f73f7ac92ea0fa3bcef71d40c355bf0 (diff)
parentcd25fd105503b035b078c3f4e37dddaab04a0c93 (diff)
Merge branch 'master' of https://git.oftal.dk/munia
-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");