Merge remote-tracking branch 'Teasday/master' into next
This commit is contained in:
commit
8b7264797e
@ -109,6 +109,9 @@ Keybinds =
|
|||||||
when Conf['Toggle thread watcher']
|
when Conf['Toggle thread watcher']
|
||||||
return unless ThreadWatcher.enabled
|
return unless ThreadWatcher.enabled
|
||||||
ThreadWatcher.toggleWatcher()
|
ThreadWatcher.toggleWatcher()
|
||||||
|
when Conf['Toggle threading']
|
||||||
|
return unless QuoteThreading.ready
|
||||||
|
QuoteThreading.toggleThreading()
|
||||||
when Conf['Mark thread read']
|
when Conf['Mark thread read']
|
||||||
return unless g.VIEW is 'index' and thread and UnreadIndex.enabled
|
return unless g.VIEW is 'index' and thread and UnreadIndex.enabled
|
||||||
UnreadIndex.markRead.call threadRoot
|
UnreadIndex.markRead.call threadRoot
|
||||||
|
|||||||
@ -38,6 +38,15 @@ QuoteThreading =
|
|||||||
children: {}
|
children: {}
|
||||||
inserted: {}
|
inserted: {}
|
||||||
|
|
||||||
|
toggleThreading: ->
|
||||||
|
@setThreadingState !Conf['Thread Quotes']
|
||||||
|
|
||||||
|
setThreadingState: (enabled) ->
|
||||||
|
Conf['Thread Quotes'] = enabled
|
||||||
|
@input.checked = enabled
|
||||||
|
@setEnabled.call @input
|
||||||
|
@rethread.call @input
|
||||||
|
|
||||||
setEnabled: ->
|
setEnabled: ->
|
||||||
if @checked
|
if @checked
|
||||||
$.set 'Prune All Threads', false
|
$.set 'Prune All Threads', false
|
||||||
|
|||||||
@ -632,7 +632,7 @@ Config =
|
|||||||
false
|
false
|
||||||
'Advance to next post when contracting an expanded image.'
|
'Advance to next post when contracting an expanded image.'
|
||||||
]
|
]
|
||||||
|
|
||||||
gallery:
|
gallery:
|
||||||
'Hide Thumbnails': [
|
'Hide Thumbnails': [
|
||||||
false
|
false
|
||||||
@ -963,6 +963,10 @@ Config =
|
|||||||
't'
|
't'
|
||||||
'Toggle visibility of thread watcher.'
|
'Toggle visibility of thread watcher.'
|
||||||
]
|
]
|
||||||
|
'Toggle threading': [
|
||||||
|
'Shift+t'
|
||||||
|
'Toggle threading.'
|
||||||
|
]
|
||||||
'Mark thread read': [
|
'Mark thread read': [
|
||||||
'Ctrl+0'
|
'Ctrl+0'
|
||||||
'Mark thread read from index (requires "Unread Line in Index").'
|
'Mark thread read from index (requires "Unread Line in Index").'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user