added classname to chat dropdown if there are no chats

v1.18.x
Julian Lam 11 years ago
parent b86ae3f7f0
commit 2078fa25f8

@ -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));

Loading…
Cancel
Save