Add update link to bottom nav links

This commit is contained in:
seaweedchan 2014-05-16 01:43:56 -07:00
parent a17df81fe9
commit 42d99be128

View File

@ -16,6 +16,12 @@ ThreadUpdater =
$.addClass doc, 'float'
$.add d.body, sc
updateLink = $.el 'span',
innerHTML: "[<a href='javascript:;' class='update-link'>Update</a>]"
$.ready ->
$.add $('.navLinksBot'), updateLink
@checkPostCount = 0
@timer = $ '#update-timer', sc
@ -24,6 +30,7 @@ ThreadUpdater =
$.on @timer, 'click', @update
$.on @status, 'click', @update
$.on $('.update-link', updateLink), 'click', @update
subEntries = []
for name, conf of Config.updater.checkbox