diff --git a/src/General/Settings.coffee b/src/General/Settings.coffee index 0711b71c9..58b1cab41 100644 --- a/src/General/Settings.coffee +++ b/src/General/Settings.coffee @@ -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) -> diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index 84c7c3d42..8884e5b3f 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -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('Reply to Thread') %> diff --git a/src/config/Config.coffee b/src/config/Config.coffee index 87de48360..f0d29372e 100644 --- a/src/config/Config.coffee +++ b/src/config/Config.coffee @@ -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.' diff --git a/src/main/Main.coffee b/src/main/Main.coffee index 05ad1f8b2..7f0e40f9b 100644 --- a/src/main/Main.coffee +++ b/src/main/Main.coffee @@ -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 ->