Add update link to bottom nav links
This commit is contained in:
parent
a17df81fe9
commit
42d99be128
@ -16,6 +16,12 @@ ThreadUpdater =
|
|||||||
$.addClass doc, 'float'
|
$.addClass doc, 'float'
|
||||||
$.add d.body, sc
|
$.add d.body, sc
|
||||||
|
|
||||||
|
updateLink = $.el 'span',
|
||||||
|
innerHTML: "[<a href='javascript:;' class='update-link'>Update</a>]"
|
||||||
|
|
||||||
|
$.ready ->
|
||||||
|
$.add $('.navLinksBot'), updateLink
|
||||||
|
|
||||||
@checkPostCount = 0
|
@checkPostCount = 0
|
||||||
|
|
||||||
@timer = $ '#update-timer', sc
|
@timer = $ '#update-timer', sc
|
||||||
@ -24,6 +30,7 @@ ThreadUpdater =
|
|||||||
|
|
||||||
$.on @timer, 'click', @update
|
$.on @timer, 'click', @update
|
||||||
$.on @status, 'click', @update
|
$.on @status, 'click', @update
|
||||||
|
$.on $('.update-link', updateLink), 'click', @update
|
||||||
|
|
||||||
subEntries = []
|
subEntries = []
|
||||||
for name, conf of Config.updater.checkbox
|
for name, conf of Config.updater.checkbox
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user