Persistent QR off, and other defaults changes. #584
This commit is contained in:
parent
0575eb2a79
commit
acd4eef587
@ -98,7 +98,7 @@ Config =
|
|||||||
'Show notifications when <%= meta.name %> is successfully updated.'
|
'Show notifications when <%= meta.name %> is successfully updated.'
|
||||||
]
|
]
|
||||||
'Color User IDs': [
|
'Color User IDs': [
|
||||||
false
|
true
|
||||||
'Assign unique colors to user IDs on boards that use them'
|
'Assign unique colors to user IDs on boards that use them'
|
||||||
]
|
]
|
||||||
'Remove Spoilers': [
|
'Remove Spoilers': [
|
||||||
@ -251,11 +251,11 @@ Config =
|
|||||||
'Add link in header menu to turn on image preloading.'
|
'Add link in header menu to turn on image preloading.'
|
||||||
]
|
]
|
||||||
'Fappe Tyme': [
|
'Fappe Tyme': [
|
||||||
false
|
true
|
||||||
'Hide posts without images when header menu item is checked. *hint* *hint*'
|
'Hide posts without images when header menu item is checked. *hint* *hint*'
|
||||||
]
|
]
|
||||||
'Werk Tyme': [
|
'Werk Tyme': [
|
||||||
false
|
true
|
||||||
'Hide all post images when header menu item is checked.'
|
'Hide all post images when header menu item is checked.'
|
||||||
]
|
]
|
||||||
'Autoplay': [
|
'Autoplay': [
|
||||||
@ -415,7 +415,7 @@ Config =
|
|||||||
1
|
1
|
||||||
]
|
]
|
||||||
'Persistent QR': [
|
'Persistent QR': [
|
||||||
true
|
false
|
||||||
'The Quick reply won\'t disappear after posting.'
|
'The Quick reply won\'t disappear after posting.'
|
||||||
1
|
1
|
||||||
]
|
]
|
||||||
@ -549,12 +549,12 @@ Config =
|
|||||||
'Add \'(You)\' to quotes linking to your posts.'
|
'Add \'(You)\' to quotes linking to your posts.'
|
||||||
]
|
]
|
||||||
'Highlight Posts Quoting You': [
|
'Highlight Posts Quoting You': [
|
||||||
false
|
true
|
||||||
'Highlights any posts that contain a quote to your post.'
|
'Highlights any posts that contain a quote to your post.'
|
||||||
1
|
1
|
||||||
]
|
]
|
||||||
'Highlight Own Posts': [
|
'Highlight Own Posts': [
|
||||||
false
|
true
|
||||||
'Highlights own posts if Mark Quotes of You is enabled.'
|
'Highlights own posts if Mark Quotes of You is enabled.'
|
||||||
1
|
1
|
||||||
]
|
]
|
||||||
|
|||||||
@ -297,6 +297,9 @@ Settings =
|
|||||||
if (rice = Config['usercss'].match(/\/\* Board title rice \*\/(?:\n.+)*/)[0])
|
if (rice = Config['usercss'].match(/\/\* Board title rice \*\/(?:\n.+)*/)[0])
|
||||||
if data['usercss']? and data['usercss'].indexOf(rice) < 0
|
if data['usercss']? and data['usercss'].indexOf(rice) < 0
|
||||||
changes['usercss'] = rice + '\n\n' + data['usercss']
|
changes['usercss'] = rice + '\n\n' + data['usercss']
|
||||||
|
if compareString < '00001.00011.00017.00000'
|
||||||
|
for key in ['Persistent QR', 'Color User IDs', 'Fappe Tyme', 'Werk Tyme', 'Highlight Posts Quoting You', 'Highlight Own Posts']
|
||||||
|
changes[key] = (key is 'Persistent QR') unless data[key]?
|
||||||
changes
|
changes
|
||||||
|
|
||||||
loadSettings: (data, cb) ->
|
loadSettings: (data, cb) ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user