Turn 'Pass Link' off and 'Inline Cross-thread Quotes Only' on in new installs. #513

This commit is contained in:
ccd0 2015-12-11 00:27:52 -08:00
parent 34b7a88234
commit e7aea6131a
2 changed files with 5 additions and 2 deletions

View File

@ -498,7 +498,7 @@ Config =
'Use the non-Javascript fallback captcha even if Javascript is enabled (Recaptcha v2 only).'
]
'Pass Link': [
true
false
'Add a 4chan Pass login link to the bottom of the page.'
]
@ -517,7 +517,7 @@ Config =
'Inline quoted post on click.'
]
'Inline Cross-thread Quotes Only': [
false
true
'Only inline quote links when the posts are on another thread or board, or fetched from the archive.'
1
]

View File

@ -333,6 +333,9 @@ Settings =
changes['sauces'] = data['sauces'].replace /(#?\s*)http:\/\/iqdb\.org\//g, '$1//iqdb.org/'
if compareString < '00001.00011.00019.00003' and not Settings.overlay
$.queueTask -> Settings.warnings.ads (item) -> new Notice 'warning', [item.childNodes...]
if compareString < '00001.00011.00020.00003'
for key, value of {'Inline Cross-thread Quotes Only': false, 'Pass Link': true}
changes[key] = value unless data[key]?
changes
loadSettings: (data, cb) ->