finished pagination for topic view

This commit is contained in:
psychobunny
2013-08-28 01:23:19 +08:00
parent 469a5221ed
commit 2098bf84a1
4 changed files with 28 additions and 10 deletions

View File

@@ -26,9 +26,12 @@ var ajaxify = {};
};
ajaxify.go = function(url, callback, template, quiet) {
// the following should be set like so: ajaxify.onchange(function(){}); where the code actually belongs
$(window).off('scroll');
// leave room and join global
app.enter_room('global');
document.getElementById('pagination').style.display = 'none';
window.onscroll = null;
var url = url.replace(/\/$/, "");