mirror of
https://github.com/openvk/openvk
synced 2025-06-07 21:00:33 +03:00
fix: infinty scroll for high screens
This commit is contained in:
parent
1af6cd83e4
commit
dce143a48e
3 changed files with 7 additions and 4 deletions
|
@ -183,7 +183,7 @@ final class Board extends VKAPIRequestHandler
|
|||
}
|
||||
|
||||
$obj = (object) [
|
||||
"items" => []
|
||||
"items" => [],
|
||||
];
|
||||
|
||||
if ($extended) {
|
||||
|
|
|
@ -411,7 +411,7 @@ final class Groups extends VKAPIRequestHandler
|
|||
|
||||
$obj = (object) [
|
||||
"count" => sizeof($members),
|
||||
"items" => []
|
||||
"items" => [],
|
||||
];
|
||||
|
||||
foreach ($members as $member) {
|
||||
|
|
|
@ -2375,6 +2375,9 @@ async function __processPaginatorNextPage(page)
|
|||
new_url.hash = page
|
||||
//history.replaceState(null, null, new_url)
|
||||
|
||||
showMoreObserver.disconnect()
|
||||
showMoreObserver.observe(u('.paginator:not(.paginator-at-top)').nodes[0])
|
||||
|
||||
if(typeof __scrollHook != 'undefined') {
|
||||
__scrollHook(page)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue