diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-06-14 09:23:34 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-06-14 09:23:34 +0200 |
commit | 8dc06305312b327972020b484c35eba08dbe2c83 (patch) | |
tree | 47c8091fee11e130518c199ad4622d4b305edd02 | |
parent | 91ea36900f8363f6f94ed4c9dc7f07fbf19cad6a (diff) |
Firefox >=12 uses normal ws apis.
-rw-r--r-- | proto.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |