diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | public/scripts/chat.js | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -61,6 +61,8 @@ typings/ .env # Custom +.flooignore +.floo .idea dist/* deploy.sh diff --git a/public/scripts/chat.js b/public/scripts/chat.js index d1b6f88..65e1a98 100644 --- a/public/scripts/chat.js +++ b/public/scripts/chat.js @@ -401,6 +401,9 @@ function chat() { </button> </column> `); + $(`[data-peer="${peerObj.peer_id}"]`) + .off('click') + .on('click', () => connect(peerObj.peer_id)); } }); $('[data-peer]') |