Remove 'Bottom QR Link' option. #904
This commit is contained in:
parent
16814f4c73
commit
6a71007fcc
@ -383,6 +383,7 @@ Settings =
|
||||
set 'Exempt Archives from Encryption', false unless data['Exempt Archives from Encryption']?
|
||||
addCSS '#qr .persona .field {display: block !important;}' if data['Show Name and Subject']
|
||||
addCSS '#shortcut-qr {display: none;}' if data['QR Shortcut'] is false
|
||||
addCSS '.qr-link-container-bottom {display: none;}' if data['Bottom QR Link'] is false
|
||||
changes
|
||||
|
||||
loadSettings: (data, cb) ->
|
||||
|
||||
@ -66,7 +66,7 @@ QR =
|
||||
QR.open()
|
||||
QR.nodes.com.focus()
|
||||
|
||||
if Conf['Bottom QR Link'] and g.VIEW is 'thread'
|
||||
if g.VIEW is 'thread'
|
||||
linkBot = $.el 'div',
|
||||
className: "brackets-wrap qr-link-container-bottom"
|
||||
$.extend linkBot, <%= html('<a href="javascript:;" class="qr-link-bottom">Reply to Thread</a>') %>
|
||||
|
||||
@ -467,11 +467,6 @@ Config =
|
||||
'Submit the post immediately when the captcha is completed.'
|
||||
1
|
||||
]
|
||||
'Bottom QR Link': [
|
||||
true
|
||||
'Places a link on the bottom of threads to open the QR.'
|
||||
1
|
||||
]
|
||||
'Captcha Fixes': [
|
||||
true
|
||||
'Make captcha easier to use, especially with the keyboard.'
|
||||
|
||||
@ -51,6 +51,7 @@ Main =
|
||||
Conf['Oekaki Links'] = true
|
||||
Conf['Show Name and Subject'] = false
|
||||
Conf['QR Shortcut'] = true
|
||||
Conf['Bottom QR Link'] = true
|
||||
|
||||
# Pseudo-enforce default whitelist while configuration loads
|
||||
if $.platform is 'crx' then $.global ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user