Fix 'Show Updated Notifications' setting.
This commit is contained in:
parent
67ba7c056f
commit
38cbbb96fe
@ -95,9 +95,10 @@ Main =
|
|||||||
|
|
||||||
$.extend items, items2
|
$.extend items, items2
|
||||||
$.set items2, ->
|
$.set items2, ->
|
||||||
el = $.el 'span',
|
if items['Show Updated Notifications'] ? true
|
||||||
<%= html(meta.name + ' has been updated to <a href="' + meta.repo + 'blob/' + meta.mainBranch + '/CHANGELOG.md" target="_blank">version ${g.VERSION}</a>.') %>
|
el = $.el 'span',
|
||||||
new Notice 'info', el, 15
|
<%= html(meta.name + ' has been updated to <a href="' + meta.repo + 'blob/' + meta.mainBranch + '/CHANGELOG.md" target="_blank">version ${g.VERSION}</a>.') %>
|
||||||
|
new Notice 'info', el, 15
|
||||||
|
|
||||||
initFeatures: ->
|
initFeatures: ->
|
||||||
if location.hostname in ['boards.4chan.org', 'sys.4chan.org', 'www.4chan.org']
|
if location.hostname in ['boards.4chan.org', 'sys.4chan.org', 'www.4chan.org']
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user