From 6311176f008fb0f6a668b6ac537c8c8794d96506 Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Sat, 9 Dec 2017 15:03:15 -0800 Subject: [PATCH] Proper network icon in context menu --- client/css/style.css | 1 + client/js/lounge.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client/css/style.css b/client/css/style.css index 1d619b10..97a1bcc4 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -224,6 +224,7 @@ kbd { .context-menu-chan::before { content: "\f0f6"; /* http://fontawesome.io/icon/file-text-o/ */ } .context-menu-close::before { content: "\f00d"; /* http://fontawesome.io/icon/times/ */ } +.context-menu-network::before, #sidebar .chan.lobby::before, #chat .lobby .title::before { content: "\f0a0"; /* http://fontawesome.io/icon/hdd-o/ */ } diff --git a/client/js/lounge.js b/client/js/lounge.js index 0aaa9b76..e3b76d04 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -84,7 +84,7 @@ $(function() { }); } else if (target.hasClass("chan")) { output = templates.contextmenu_item({ - class: "chan", + class: target.hasClass("lobby") ? "network" : "chan", text: target.data("title"), data: target.data("target"), });