mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
finished pagination for topic view
This commit is contained in:
@@ -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(/\/$/, "");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user