mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
This commit is contained in:
@@ -473,6 +473,19 @@ app.cacheBuster = null;
|
||||
});
|
||||
}
|
||||
|
||||
app.updateUserStatus = function(el, status) {
|
||||
if (!el.length) {
|
||||
return;
|
||||
}
|
||||
|
||||
translator.translate('[[global:' + status + ']]', function(translated) {
|
||||
el.removeClass('online offline dnd away')
|
||||
.addClass(status)
|
||||
.attr('title', translated)
|
||||
.attr('data-original-title', translated);
|
||||
});
|
||||
};
|
||||
|
||||
function handleNewTopic() {
|
||||
$('#content').on('click', '#new_topic', function() {
|
||||
require(['composer'], function(composer) {
|
||||
|
||||
Reference in New Issue
Block a user