mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 21:45:47 +01:00
added classname to chat dropdown if there are no chats
This commit is contained in:
@@ -31,6 +31,7 @@ define(['taskbar', 'string'], function(taskbar, S) {
|
||||
chatsListEl.html(chatsFrag);
|
||||
} else {
|
||||
translator.get('modules:chat.no_active', function(str) {
|
||||
chatEl.className = 'no_active';
|
||||
chatEl.innerHTML = '<a href="#">' + str + '</a>';
|
||||
chatsFrag.appendChild(chatEl.cloneNode(true));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user