diff options
| author | Henry Jameson <me@hjkos.com> | 2018-08-13 17:07:45 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-08-13 17:07:45 +0300 |
| commit | 87eee191b8eaa8b7c8a396f9c6ca976c280d44af (patch) | |
| tree | dcf652f2269b1148c1b1bd4182483f4a5ddd0574 /src/components/timeline/timeline.js | |
| parent | 18117c3bfa4cae9542e49222aad058aa52929f18 (diff) | |
Made pausing TL updating configurable. Added styles for disabled checkboxes.
Shuffled settings a bit b/c all the settings are in "Attachments" section
depsite the fact not all of them are attachments-related.
Diffstat (limited to 'src/components/timeline/timeline.js')
| -rw-r--r-- | src/components/timeline/timeline.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js index 5c179567..a651f619 100644 --- a/src/components/timeline/timeline.js +++ b/src/components/timeline/timeline.js @@ -133,7 +133,10 @@ const Timeline = { } if (count > 0) { // only 'stream' them when you're scrolled to the top - if (window.pageYOffset < 15 && !this.paused && !this.unfocused) { + if (window.pageYOffset < 15 && + !this.paused && + !(this.unfocused && this.$store.state.config.pauseOnUnfocused) + ) { this.showNewStatuses() } else { this.paused = true |
