diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/scripts/chat.js | 3 |
1 files changed, 3 insertions, 0 deletions
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]') |