diff --git a/client/index.html b/client/index.html index 3c3b253e..1c3640e9 100644 --- a/client/index.html +++ b/client/index.html @@ -39,7 +39,7 @@ @@ -83,7 +83,7 @@
-
+
diff --git a/client/js/lounge.js b/client/js/lounge.js index 826e6036..3e4c3158 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -433,7 +433,7 @@ $(function() { } var chanChat = chan.find(".chat"); - if (chanChat.length > 0 && chan.data("type") !== "special") { + if (chanChat.length > 0 && type !== "special") { chanChat.sticky(); } @@ -442,7 +442,7 @@ $(function() { socket.emit("names", {target: self.data("id")}); } - if (type === "settings") { + if (target === "#settings") { $("#session-list").html("

Loading…

"); socket.emit("sessions:get"); }