summaryrefslogtreecommitdiff
path: root/public/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/index.js')
-rw-r--r--public/js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 90a3daf4..dff278c9 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -2250,7 +2250,7 @@ var socket = io.connect({
var on = socket.on;
socket.on = function () {
if (!checkLoginStateChanged() && !needRefresh)
- on.apply(socket, arguments);
+ return on.apply(socket, arguments);
};
var emit = socket.emit;
socket.emit = function () {