From 5989c4b5553c4e6348b5d5a191b7aa53b6c5e80b Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 1 Jun 2014 13:55:13 -0700 Subject: [PATCH] fix ThreadUpdater crash on /f/ threads with JSON Nav on --- src/Monitoring/ThreadUpdater.coffee | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Monitoring/ThreadUpdater.coffee b/src/Monitoring/ThreadUpdater.coffee index 5ed0b41cb..4aa7a6465 100755 --- a/src/Monitoring/ThreadUpdater.coffee +++ b/src/Monitoring/ThreadUpdater.coffee @@ -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: '[Update]' - # className: 'updatelink' + unless Index.navLinksBot and $ '.updatelink', Index.navLinksBot updateLink = $.el 'span', innerHTML: 'Update' className: 'brackets-wrap updatelink'