From 602a52897d064129b1db2d26973b1d65e2ffd383 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 20 Jan 2016 00:28:00 -0800 Subject: [PATCH] Fix 'Inline Cross-thread Quotes Only' on /f/. --- src/Quotelinks/QuoteInline.coffee | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Quotelinks/QuoteInline.coffee b/src/Quotelinks/QuoteInline.coffee index 8afe993d6..96c61b98f 100644 --- a/src/Quotelinks/QuoteInline.coffee +++ b/src/Quotelinks/QuoteInline.coffee @@ -17,7 +17,12 @@ QuoteInline = return process: (link, clone) -> - return if Conf['Inline Cross-thread Quotes Only'] and link.getAttribute('href')[0] is '#' + return if ( + Conf['Inline Cross-thread Quotes Only'] and + link.pathname is location.pathname and + link.host is location.host and + link.protocol is location.protocol + ) if Conf['Quote Hash Navigation'] $.after link, QuoteInline.qiQuote link, $.hasClass link, 'filtered' unless clone $.on link, 'click', QuoteInline.toggle