mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
socket logic for #1149 -- handling of help tab in ACP
This commit is contained in:
@@ -819,7 +819,7 @@ define(['taskbar'], function(taskbar) {
|
||||
});
|
||||
|
||||
socket.emit('modules.composer.renderHelp', function(err, html) {
|
||||
if (html && html.length > 0) {
|
||||
if (!err && html && html.length > 0) {
|
||||
postContainer.find('.help').html(html);
|
||||
postContainer.find('[data-pane=".tab-help"]').parent().removeClass('hidden');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user