always create headline-spacer on lazy load
This commit is contained in:
parent
74217c72a1
commit
1d6191ee0a
1 changed files with 2 additions and 2 deletions
|
@ -151,9 +151,9 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
|
||||||
|
|
||||||
if (!hsp) hsp = new Element("DIV", {"id": "headlines-spacer"});
|
if (!hsp) hsp = new Element("DIV", {"id": "headlines-spacer"});
|
||||||
|
|
||||||
if (getInitParam("cdm_auto_catchup") == 1) {
|
// if (getInitParam("cdm_auto_catchup") == 1) {
|
||||||
c.domNode.appendChild(hsp);
|
c.domNode.appendChild(hsp);
|
||||||
}
|
// }
|
||||||
|
|
||||||
console.log("added " + new_elems.size() + " headlines");
|
console.log("added " + new_elems.size() + " headlines");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue