Merge pull request #1816 from MaxLeiter/fix-network-context
Proper network icon in context menu
This commit is contained in:
commit
a8fb892873
@ -225,6 +225,7 @@ kbd {
|
||||
.context-menu-close::before { content: "\f00d"; /* http://fontawesome.io/icon/times/ */ }
|
||||
.context-menu-list::before { content: "\f03a"; /* http://fontawesome.io/icon/list/ */ }
|
||||
|
||||
.context-menu-network::before,
|
||||
#sidebar .chan.lobby::before,
|
||||
#chat .lobby .title::before { content: "\f0a0"; /* http://fontawesome.io/icon/hdd-o/ */ }
|
||||
|
||||
|
@ -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"),
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user