From e7aea6131abeb8904cd9e9db18747f1727ed75a6 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Fri, 11 Dec 2015 00:27:52 -0800 Subject: [PATCH] Turn 'Pass Link' off and 'Inline Cross-thread Quotes Only' on in new installs. #513 --- src/General/Config.coffee | 4 ++-- src/General/Settings.coffee | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/General/Config.coffee b/src/General/Config.coffee index e4b96ad28..4c7e24da1 100644 --- a/src/General/Config.coffee +++ b/src/General/Config.coffee @@ -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 ] diff --git a/src/General/Settings.coffee b/src/General/Settings.coffee index 51a53d555..1764779aa 100644 --- a/src/General/Settings.coffee +++ b/src/General/Settings.coffee @@ -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) ->