FIX: don't hide back button at the bottom of timeline (#7544)

This commit is contained in:
Maja Komel 2019-05-15 19:02:48 +02:00 committed by Régis Hanol
parent fc5bb39096
commit 9a17b19636

View File

@ -216,11 +216,6 @@ createWidget("timeline-scrollarea", {
);
showButton =
before + SCROLLER_HEIGHT - 5 < lastReadTop || before > lastReadTop + 25;
// Don't show if at the bottom of the timeline
if (lastReadTop > scrollareaHeight() - LAST_READ_HEIGHT / 2) {
showButton = false;
}
}
const result = [