diff --git a/src/Monitoring/ThreadUpdater.coffee b/src/Monitoring/ThreadUpdater.coffee index bc32e55e8..3e62a7baa 100644 --- a/src/Monitoring/ThreadUpdater.coffee +++ b/src/Monitoring/ThreadUpdater.coffee @@ -27,7 +27,7 @@ ThreadUpdater = className: 'brackets-wrap updatelink' $.extend updateLink, <%= html('Update') %> Main.ready -> - $.add $('.navLinksBot'), [$.tn(' '), updateLink] + $.add navLinksBot, [$.tn(' '), updateLink] if (navLinksBot = $ '.navLinksBot') $.on updateLink.firstElementChild, 'click', @update subEntries = [] diff --git a/src/Posting/QR.coffee b/src/Posting/QR.coffee index b2c335324..33739d8a9 100644 --- a/src/Posting/QR.coffee +++ b/src/Posting/QR.coffee @@ -80,7 +80,7 @@ QR = QR.open() QR.nodes.com.focus() - $.prepend $('.navLinksBot'), linkBot + $.prepend navLinksBot, linkBot if (navLinksBot = $ '.navLinksBot') origToggle = $.id 'togglePostFormLink' $.before origToggle, link diff --git a/src/Quotelinks/QuoteThreading.coffee b/src/Quotelinks/QuoteThreading.coffee index 327caa80a..eb549715a 100644 --- a/src/Quotelinks/QuoteThreading.coffee +++ b/src/Quotelinks/QuoteThreading.coffee @@ -39,7 +39,7 @@ QuoteThreading = setThread: -> QuoteThreading.thread = @ $.asap (-> !Conf['Thread Updater'] or $ '.navLinksBot > .updatelink'), -> - $.add $('.navLinksBot'), [$.tn(' '), QuoteThreading.threadNewLink] + $.add navLinksBot, [$.tn(' '), QuoteThreading.threadNewLink] if (navLinksBot = $ '.navLinksBot') node: -> return if @isFetchedQuote or @isClone or !@isReply