fix ThreadUpdater crash on /f/ threads with JSON Nav on
This commit is contained in:
parent
6d614673e3
commit
5989c4b555
@ -25,10 +25,7 @@ ThreadUpdater =
|
||||
$.on @timer, 'click', @update
|
||||
$.on @status, 'click', @update
|
||||
|
||||
unless Conf['JSON Navigation'] and $ '.updatelink', Index.navLinksBot
|
||||
#updateLink = $.el 'span',
|
||||
# innerHTML: '[<a href="javascript:;">Update</a>]'
|
||||
# className: 'updatelink'
|
||||
unless Index.navLinksBot and $ '.updatelink', Index.navLinksBot
|
||||
updateLink = $.el 'span',
|
||||
innerHTML: '<a href="javascript:;">Update</a>'
|
||||
className: 'brackets-wrap updatelink'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user