summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorWu Cheng-Han2016-10-10 21:14:28 +0800
committerWu Cheng-Han2016-10-10 21:14:28 +0800
commitfb5d7e43592c1a14831067e28def9c4b9e2a97ca (patch)
tree8983010d2c478d293e5d756d00d48e56d2dbcced /public/js
parentb734eb9c85fc6b2cfe534206f0f1b01656d9acc3 (diff)
Update npm and bower dependencies with related patch
Diffstat (limited to 'public/js')
-rw-r--r--public/js/index.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 6b7efa68..eb89d9f8 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -2262,8 +2262,6 @@ socket.on('connect', function (data) {
personalInfo['id'] = socket.id;
showStatus(statusType.connected);
socket.emit('version');
- if (socket.id.indexOf('/') == -1)
- socket.id = socket.nsp + '#' + socket.id;
});
socket.on('version', function (data) {
if (version != data.version) {