Decrease the "4chan X has been updated" notification lifetime down to 30 seconds.

This commit is contained in:
Nicolas Stepien 2013-04-05 01:29:57 +02:00
parent caa79b5089
commit 95c330f302

View File

@ -223,7 +223,7 @@ Settings =
changelog = "<%= meta.repo %>blob/<%= meta.mainBranch %>/CHANGELOG.md##{g.VERSION.replace(/\./g, '')}"
el = $.el 'span',
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
$.on d, '4chanXInitFinished', Settings.open
$.set