Honor the Check for Updates config.
This commit is contained in:
parent
4ef7c875a7
commit
ffc0b4831b
@ -11,7 +11,7 @@ Config =
|
||||
'Comment Expansion': [true, 'Add buttons to expand too long comments.']
|
||||
'Thread Expansion': [true, 'Add buttons to expand threads.']
|
||||
'Index Navigation': [false, 'Add buttons to navigate between threads.']
|
||||
'Check for Updates': [true, 'Check for updated versions of <%= meta.name %>.']
|
||||
'Check for Updates': [true, 'Notify when updated versions of <%= meta.name %> are available.']
|
||||
'Filtering':
|
||||
'Anonymize': [false, 'Make everyone Anonymous.']
|
||||
'Filter': [true, 'Self-moderation placebo.']
|
||||
|
||||
@ -495,7 +495,7 @@ Main =
|
||||
Klass::callbacks.push obj.callback
|
||||
|
||||
checkUpdate: ->
|
||||
return unless Main.isThisPageLegit()
|
||||
return unless Conf['Check for Updates'] and Main.isThisPageLegit()
|
||||
# Check for updates after:
|
||||
# - 6 hours since the last update on Opera because it lacks auto-updating.
|
||||
# - 7 days since the last update on Chrome/Firefox.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user