aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--public/scripts/chat.js3
2 files changed, 5 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 684d87a..d58d6e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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]')