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.
This commit is contained in:
parent
18117c3bfa
commit
87eee191b8
5 changed files with 76 additions and 45 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue