Show More
@@ -63,7 +63,10 b' function connectWebsocket() {' | |||
|
63 | 63 | centrifuge.on('error', function(error_message) { |
|
64 | 64 | console.log("Error connecting to websocket server."); |
|
65 | 65 | console.log(error_message); |
|
66 | return false; | |
|
66 | console.log("Using javascript update instead."); | |
|
67 | ||
|
68 | // If websockets don't work, enable JS update instead | |
|
69 | enableJsUpdate() | |
|
67 | 70 | }); |
|
68 | 71 | |
|
69 | 72 | centrifuge.on('connect', function() { |
General Comments 0
You need to be logged in to leave comments.
Login now