removed templates config and mapping 🐑

This commit is contained in:
barisusakli
2015-03-06 19:02:18 -05:00
parent 5821a0758f
commit 2a8437f08f
12 changed files with 255 additions and 451 deletions

View File

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