Proper network icon in context menu

This commit is contained in:
Max Leiter 2017-12-09 15:03:15 -08:00
parent 844ca1fbe6
commit 6311176f00
2 changed files with 2 additions and 1 deletions

View File

@ -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/ */ }

View File

@ -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"),
});