Decrease the "4chan X has been updated" notification lifetime down to 30 seconds.
This commit is contained in:
parent
caa79b5089
commit
95c330f302
@ -223,7 +223,7 @@ Settings =
|
|||||||
changelog = "<%= meta.repo %>blob/<%= meta.mainBranch %>/CHANGELOG.md##{g.VERSION.replace(/\./g, '')}"
|
changelog = "<%= meta.repo %>blob/<%= meta.mainBranch %>/CHANGELOG.md##{g.VERSION.replace(/\./g, '')}"
|
||||||
el = $.el 'span',
|
el = $.el 'span',
|
||||||
innerHTML: "<%= meta.name %> has been updated to <a href='#{changelog}' target=_blank>version #{g.VERSION}</a>."
|
innerHTML: "<%= meta.name %> has been updated to <a href='#{changelog}' target=_blank>version #{g.VERSION}</a>."
|
||||||
new Notification 'info', el, 60
|
new Notification 'info', el, 30
|
||||||
else
|
else
|
||||||
$.on d, '4chanXInitFinished', Settings.open
|
$.on d, '4chanXInitFinished', Settings.open
|
||||||
$.set
|
$.set
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user