Remove else so join is always sent

Fixes #2472
This commit is contained in:
Jay2k1 2018-05-29 11:56:41 +02:00 committed by Jay2k1
parent 2de022235f
commit d0284dc1b9

View file

@ -146,12 +146,12 @@ $(function() {
if (chan.length) {
chan.trigger("click");
} else {
socket.emit("input", {
target: chat.data("id"),
text: "/join " + name,
});
}
socket.emit("input", {
target: chat.data("id"),
text: "/join " + name,
});
});
chat.on("click", ".condensed-summary .content", function() {