diff options
| author | Henry Jameson <me@hjkos.com> | 2022-04-07 15:11:23 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-04-07 15:11:23 +0300 |
| commit | b5ded67c0608724fe23be15e346dd6842819635f (patch) | |
| tree | 6dab9bacf427db768d8e399c4718cdec7d7371f8 /src/components/timeline/timeline.js | |
| parent | d3d219f15d4bac88f58d4fd0fed6f798b81cca82 (diff) | |
options to enable scrollbars and disable sticky headers
Diffstat (limited to 'src/components/timeline/timeline.js')
| -rw-r--r-- | src/components/timeline/timeline.js | 2 |
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 } |
