fixed infinite scroll

This commit is contained in:
Oleg Belyaev 2025-03-24 20:29:22 +03:00
parent cbc0f5662d
commit 04ab9741b4
2 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ $( document ).ready(function() {
// init Infinite Scroll
$('main').infiniteScroll({
path: '.pagination__next',
append: '.abv-entry',
append: 'div.abv-lex',
//status: '.scroller-status',
//hideNav: '.pagination',
});

View file

@ -526,7 +526,7 @@ declare %rest:path("{$lang}/dict")
return if (exists($sd) and $sd($sn)('entry') = $doc/@xml:id)
then abv-m:make-html($sd($sn)('tei'), $lang)
else doc(`abaevdict_{$lang}/html/{$doc/@xml:id}.html`)
return (
return <div class="abv-lex">{(
(: Block with icons to the left of entry (floating) :)
<div class="icons">
{
@ -542,7 +542,7 @@ declare %rest:path("{$lang}/dict")
then <a class="abv-map" data-abv-entry="{$doc/@xml:id}">
<img src="/static/map.png"></img>
</a>}</div>,
$html)
$html)}</div>
}
</main>