aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.js
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2018-04-11 19:34:40 +0300
committershpuld <shp@cock.li>2018-04-11 19:34:40 +0300
commita1f6ef1dcac2e79c5a116705ca11d6e7e51ed89c (patch)
tree29adae381f962942683fe4f01952f56b2f33fdf0 /src/components/timeline/timeline.js
parent82ee24ec31ad89e82c6002fd0dc3593f47adfdb4 (diff)
Loads of fixes: notifs, autoload setting, overflow, faint text, reply form, status fadein.
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 660a8752..74ab85d3 100644
--- a/src/components/timeline/timeline.js
+++ b/src/components/timeline/timeline.js
@@ -105,7 +105,7 @@ const Timeline = {
.then((friends) => this.$store.dispatch('addFriends', { friends }))
},
scrollLoad (e) {
- let height = Math.max(document.body.offsetHeight, document.body.scrollHeight)
+ const height = Math.max(document.body.offsetHeight, document.body.scrollHeight)
if (this.timeline.loading === false &&
this.$store.state.config.autoLoad &&
this.$el.offsetHeight > 0 &&