forked from mystiq/hydrogen-web
remove leftover logging
This commit is contained in:
parent
c4477a81ea
commit
41089e2806
1 changed files with 0 additions and 1 deletions
|
@ -176,7 +176,6 @@ export class TimelineView extends TemplateView<TimelineViewModel> {
|
||||||
bottomNodeIndex = len - 1;
|
bottomNodeIndex = len - 1;
|
||||||
} else {
|
} else {
|
||||||
const viewportBottom = scrollTop + clientHeight;
|
const viewportBottom = scrollTop + clientHeight;
|
||||||
// console.log(`viewportBottom: ${viewportBottom} (${scrollTop} + ${clientHeight})`);
|
|
||||||
const anchoredNodeIndex = findFirstNodeIndexAtOrBelow(tilesNode, viewportBottom);
|
const anchoredNodeIndex = findFirstNodeIndexAtOrBelow(tilesNode, viewportBottom);
|
||||||
this.anchoredNode = tilesNode.childNodes[anchoredNodeIndex] as HTMLElement;
|
this.anchoredNode = tilesNode.childNodes[anchoredNodeIndex] as HTMLElement;
|
||||||
this.anchoredBottom = bottom(this.anchoredNode!);
|
this.anchoredBottom = bottom(this.anchoredNode!);
|
||||||
|
|
Loading…
Reference in a new issue