aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-04-07 15:11:23 +0300
committerHenry Jameson <me@hjkos.com>2022-04-07 15:11:23 +0300
commitb5ded67c0608724fe23be15e346dd6842819635f (patch)
tree6dab9bacf427db768d8e399c4718cdec7d7371f8 /src/components/timeline/timeline.js
parentd3d219f15d4bac88f58d4fd0fed6f798b81cca82 (diff)
options to enable scrollbars and disable sticky headers
Diffstat (limited to 'src/components/timeline/timeline.js')
-rw-r--r--src/components/timeline/timeline.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js
index 4b2c1e81..bfee2382 100644
--- a/src/components/timeline/timeline.js
+++ b/src/components/timeline/timeline.js
@@ -91,7 +91,7 @@ const Timeline = {
const credentials = store.state.users.currentUser.credentials
const showImmediately = this.timeline.visibleStatuses.length === 0
- scroller().addEventListener('scroll', this.handleScroll)
+ scroller() && scroller().addEventListener('scroll', this.handleScroll)
if (store.state.api.fetchers[this.timelineName]) { return false }