mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 01:45:47 +01:00
removed templates config and mapping 🐑
This commit is contained in:
@@ -6,7 +6,7 @@ define('forum/categories', function() {
|
||||
var categories = {};
|
||||
|
||||
$(window).on('action:ajaxify.start', function(ev, data) {
|
||||
if (data.tpl_url !== 'categories') {
|
||||
if (ajaxify.currentPage !== data.url) {
|
||||
socket.removeListener('event:new_post', categories.onNewPost);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user