mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 18:26:15 +01:00
use tpl_url
This commit is contained in:
@@ -6,7 +6,7 @@ define('forum/unread', ['forum/recent', 'topicSelect', 'forum/infinitescroll'],
|
||||
var Unread = {};
|
||||
|
||||
$(window).on('action:ajaxify.start', function(ev, data) {
|
||||
if(data.url.indexOf('unread') !== 0) {
|
||||
if (data.tpl_url !== 'unread') {
|
||||
recent.removeListeners();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user