fixed infinite scroll
This commit is contained in:
parent
cbc0f5662d
commit
04ab9741b4
2 changed files with 3 additions and 3 deletions
|
@ -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',
|
||||
});
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue