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) { if (chan.length) {
chan.trigger("click"); chan.trigger("click");
} else { }
socket.emit("input", { socket.emit("input", {
target: chat.data("id"), target: chat.data("id"),
text: "/join " + name, text: "/join " + name,
}); });
}
}); });
chat.on("click", ".condensed-summary .content", function() { chat.on("click", ".condensed-summary .content", function() {