span -> el

This commit is contained in:
Nicolas Stepien 2013-03-29 16:59:55 +01:00
parent ffc0b4831b
commit f930f5ccdd

View File

@ -215,7 +215,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', span, 1 * $.MINUTE
new Notification 'info', el, 1 * $.MINUTE
$.set 'lastupdate', Date.now()
$.set 'previousversion', g.VERSION
$.on d, '4chanXInitFinished', Settings.open unless item['previousversion']