added Config for PostJumper
This commit is contained in:
parent
4ed808feef
commit
bef9ac1d5c
@ -9,7 +9,7 @@ PostJumper =
|
||||
cb: @node
|
||||
|
||||
node: ->
|
||||
if @nodes.uniqueIDRoot
|
||||
if @nodes.uniqueIDRoot and Conf['Unique ID Navigation']
|
||||
uniqueID = @nodes.uniqueID.innerText
|
||||
IDButtons = PostJumper.makeButtons 'uniqueIDJumper'
|
||||
$.after @nodes.uniqueIDRoot, IDButtons
|
||||
@ -19,7 +19,7 @@ PostJumper =
|
||||
PostJumper.uniqueIDsMap.set uniqueID, []
|
||||
PostJumper.uniqueIDsMap.get(uniqueID).push @nodes.quote.innerText
|
||||
|
||||
if @nodes.capcode
|
||||
if @nodes.capcode and Conf['Capcode Navigation']
|
||||
capcode = @nodes.capcode.innerText
|
||||
capcodeButtons = PostJumper.makeButtons 'capcodeJumper'
|
||||
$.after @nodes.capcode, capcodeButtons
|
||||
|
||||
@ -92,6 +92,14 @@ Config =
|
||||
false
|
||||
'Add buttons to navigate to top / bottom of thread.'
|
||||
]
|
||||
'Unique ID Navigation': [
|
||||
false
|
||||
'Add buttons to navigate to posts having the same unique ID.'
|
||||
]
|
||||
'Capcode Navigation': [
|
||||
false
|
||||
'Add buttons to navigate to posts having the same capcode.'
|
||||
]
|
||||
'Custom Board Titles': [
|
||||
true
|
||||
'Allow editing of the board title and subtitle by ctrl/\u2318+clicking them.'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user