mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Timeline back button was docking too aggressively
This commit is contained in:
parent
f0f5fbf132
commit
1cbe355c5b
@ -173,8 +173,9 @@ createWidget('timeline-scrollarea', {
|
||||
showButton = ((before + SCROLLER_HEIGHT - 5) < lastReadTop) ||
|
||||
(before > (lastReadTop + 25));
|
||||
|
||||
|
||||
// Don't show if at the bottom of the timeline
|
||||
if (lastReadTop < (SCROLLAREA_HEIGHT - SCROLLER_HEIGHT)) {
|
||||
if (lastReadTop > (SCROLLAREA_HEIGHT - SCROLLER_HEIGHT)) {
|
||||
showButton = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user