Browse Source

fix set shortid bug

Hongcai Deng 9 years ago
parent
commit
15f9899fb9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/js/app.js

+ 1 - 1
public/js/app.js

@@ -42,7 +42,7 @@ $(function(){
         socket.emit('request shortid', true);
       }
       else {
-        socket.emit('set shortid', true);
+        socket.emit('set shortid', shortid);
         setMailAddress(shortid);
       }
     }