Node.js based forum software built for the modern web
fix: #9129, event is fired on socket.io
Barış Soner Uşaklıb369dc888bff
diff --git a/public/src/sockets.js b/public/src/sockets.jsindex e19e2f08ba..722f6785af 100644--- a/public/src/sockets.js+++ b/public/src/sockets.js@@ -44,7 +44,7 @@ socket = window.socket;socket.on('disconnect', onDisconnect);- socket.on('reconnect_failed', function () {+ socket.io.on('reconnect_failed', function () {// Wait ten times the reconnection delay and then start oversetTimeout(socket.connect.bind(socket), parseInt(config.reconnectionDelay, 10) * 10);});