Node.js based forum software built for the modern web
attempt at fixing #1323
psychobunny8432d8827e20
diff --git a/public/src/app.js b/public/src/app.jsindex acd6b4fd35..681578d01b 100644--- a/public/src/app.js+++ b/public/src/app.js@@ -28,11 +28,17 @@ var socket,socket.socket.connect();}, 200);} else {- socket = io.connect('', {+ var ioParams = {'max reconnection attempts': config.maxReconnectionAttempts,'reconnection delay': config.reconnectionDelay,resource: RELATIVE_PATH.length ? RELATIVE_PATH.slice(1) + '/socket.io' : 'socket.io'- });+ };++ if (utils.isAndroidBrowser) {+ ioParams.transports = ['xhr-polling'];+ }++ socket = io.connect('', ioParams);var reconnecting = false,reconnectEl, reconnectTimer;