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 @timer, 'click', @update
$.on @status, 'click', @update $.on @status, 'click', @update
unless Conf['JSON Navigation'] and $ '.updatelink', Index.navLinksBot unless Index.navLinksBot and $ '.updatelink', Index.navLinksBot
#updateLink = $.el 'span',
# innerHTML: '[<a href="javascript:;">Update</a>]'
# className: 'updatelink'
updateLink = $.el 'span', updateLink = $.el 'span',
innerHTML: '<a href="javascript:;">Update</a>' innerHTML: '<a href="javascript:;">Update</a>'
className: 'brackets-wrap updatelink' className: 'brackets-wrap updatelink'