mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 23:30:36 +01:00
dont reverse infinite load admin/events
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
require(['forum/infinitescroll'], function(infinitescroll) {
|
||||
|
||||
infinitescroll.init(function(direction) {
|
||||
if (direction < 0 && !$('.events').length) {
|
||||
if (direction < 0 || !$('.events').length) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user