fix ThreadUpdater crash on /f/ threads with JSON Nav on

This commit is contained in:
ccd0 2014-06-01 13:55:13 -07:00
parent 6d614673e3
commit 5989c4b555

View File

@ -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'