fixes wrong topics getting loaded into wrong categories

v1.18.x
Baris Usakli 12 years ago
parent 929282a2f7
commit 22536e694c

@ -26,6 +26,7 @@ var ajaxify = {};
};
ajaxify.go = function(url, callback, template, quiet) {
$(window).off('scroll');
// leave room and join global
app.enter_room('global');

@ -125,6 +125,7 @@
var bottom = (document.body.offsetHeight - $(window).height()) * 0.9;
if (document.body.scrollTop > bottom && !loadingMoreTopics) {
console.log('fail', cid);
loadMoreTopics(cid);
}
});

Loading…
Cancel
Save