mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: lint
This commit is contained in:
@@ -378,7 +378,9 @@ define('forum/topic/posts', [
|
||||
}
|
||||
});
|
||||
})).then(function () {
|
||||
callback && callback();
|
||||
if (typeof callback === 'function') {
|
||||
callback();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user