mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
clicking the pagination block no longer sends page to top
This commit is contained in:
@@ -905,9 +905,14 @@ define(['composer'], function(composer) {
|
||||
|
||||
function updateHeader() {
|
||||
if (pagination == null) {
|
||||
$('.pagination-block a').on('click', function() {
|
||||
return false;
|
||||
});
|
||||
|
||||
jQuery('.pagination-block i:first').on('click', function() {
|
||||
app.scrollToTop();
|
||||
});
|
||||
|
||||
jQuery('.pagination-block i:last').on('click', function() {
|
||||
app.scrollToBottom();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user