diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index f1e29bef7..3d7e02918 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1365,9 +1365,6 @@ continue; } $.addClass(quotelink, 'deadlink'); - if (!Conf['Quote Markers']) { - continue; - } QuoteMarkers.parseQuotelink(Get.postFromNode(quotelink), quotelink, true); } }; @@ -1397,9 +1394,6 @@ continue; } $.rmClass(quotelink, 'deadlink'); - if (!Conf['Quote Markers']) { - continue; - } QuoteMarkers.parseQuotelink(Get.postFromNode(quotelink), quotelink, true); } }; @@ -5236,9 +5230,6 @@ } if (this.isClone) { this.nodes.backlinkContainer = $('.backlink-container', this.nodes.info); - if (!Conf['Quote Markers']) { - return; - } _ref = this.nodes.backlinks; for (_i = 0, _len = _ref.length; _i < _len; _i++) { backlink = _ref[_i]; @@ -5272,9 +5263,7 @@ if (quoter.isHidden) { $.addClass(a, 'filtered'); } - if (Conf['Quote Markers']) { - QuoteMarkers.parseQuotelink(quoted, a, false, text); - } + QuoteMarkers.parseQuotelink(quoted, a, false, text); if (Conf['Quote Previewing']) { $.on(a, 'mouseover', QuotePreview.mouseover); } @@ -5812,9 +5801,7 @@ this.quotes.push(quoteID); } if (!a) { - if (Conf['Quote Markers']) { - deadlink.textContent = "" + quote + "\u00A0(Dead)"; - } + deadlink.textContent = "" + quote + "\u00A0(Dead)"; return; } $.replace(deadlink, a); diff --git a/builds/crx/script.js b/builds/crx/script.js index d9b8ee6da..050168b7f 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1420,9 +1420,6 @@ continue; } $.addClass(quotelink, 'deadlink'); - if (!Conf['Quote Markers']) { - continue; - } QuoteMarkers.parseQuotelink(Get.postFromNode(quotelink), quotelink, true); } }; @@ -1452,9 +1449,6 @@ continue; } $.rmClass(quotelink, 'deadlink'); - if (!Conf['Quote Markers']) { - continue; - } QuoteMarkers.parseQuotelink(Get.postFromNode(quotelink), quotelink, true); } }; @@ -5288,9 +5282,6 @@ } if (this.isClone) { this.nodes.backlinkContainer = $('.backlink-container', this.nodes.info); - if (!Conf['Quote Markers']) { - return; - } _ref = this.nodes.backlinks; for (_i = 0, _len = _ref.length; _i < _len; _i++) { backlink = _ref[_i]; @@ -5324,9 +5315,7 @@ if (quoter.isHidden) { $.addClass(a, 'filtered'); } - if (Conf['Quote Markers']) { - QuoteMarkers.parseQuotelink(quoted, a, false, text); - } + QuoteMarkers.parseQuotelink(quoted, a, false, text); if (Conf['Quote Previewing']) { $.on(a, 'mouseover', QuotePreview.mouseover); } @@ -5864,9 +5853,7 @@ this.quotes.push(quoteID); } if (!a) { - if (Conf['Quote Markers']) { - deadlink.textContent = "" + quote + "\u00A0(Dead)"; - } + deadlink.textContent = "" + quote + "\u00A0(Dead)"; return; } $.replace(deadlink, a); diff --git a/src/General/lib/post.class b/src/General/lib/post.class index bcb2ddf8c..54c8dcf5d 100755 --- a/src/General/lib/post.class +++ b/src/General/lib/post.class @@ -255,7 +255,6 @@ class Post # and paint them (Dead). for quotelink in Get.allQuotelinksLinkingTo @ when not $.hasClass quotelink, 'deadlink' $.addClass quotelink, 'deadlink' - continue unless Conf['Quote Markers'] QuoteMarkers.parseQuotelink Get.postFromNode(quotelink), quotelink, true return # XXX tmp fix for 4chan's racing condition @@ -276,7 +275,6 @@ class Post for quotelink in Get.allQuotelinksLinkingTo @ when $.hasClass quotelink, 'deadlink' $.rmClass quotelink, 'deadlink' - continue unless Conf['Quote Markers'] QuoteMarkers.parseQuotelink Get.postFromNode(quotelink), quotelink, true return diff --git a/src/Quotelinks/QuoteBacklink.coffee b/src/Quotelinks/QuoteBacklink.coffee index 654f42989..6ffa9cfba 100755 --- a/src/Quotelinks/QuoteBacklink.coffee +++ b/src/Quotelinks/QuoteBacklink.coffee @@ -42,7 +42,6 @@ QuoteBacklink = return unless @isReply or Conf['OP Backlinks'] if @isClone @nodes.backlinkContainer = $ '.backlink-container', @nodes.info - return unless Conf['Quote Markers'] for backlink in @nodes.backlinks QuoteMarkers.parseQuotelink @, backlink, true, QuoteBacklink.funk Get.postDataFromLink(backlink).postID return @@ -63,8 +62,7 @@ QuoteBacklink = $.addClass a, 'deadlink' if quoter.isHidden $.addClass a, 'filtered' - if Conf['Quote Markers'] - QuoteMarkers.parseQuotelink quoted, a, false, text + QuoteMarkers.parseQuotelink quoted, a, false, text if Conf['Quote Previewing'] $.on a, 'mouseover', QuotePreview.mouseover if Conf['Quote Inlining'] diff --git a/src/Quotelinks/Quotify.coffee b/src/Quotelinks/Quotify.coffee index 0aef3245b..c3baccd97 100755 --- a/src/Quotelinks/Quotify.coffee +++ b/src/Quotelinks/Quotify.coffee @@ -64,7 +64,7 @@ Quotify = @quotes.push quoteID unless quoteID in @quotes unless a - deadlink.textContent = "#{quote}\u00A0(Dead)" if Conf['Quote Markers'] + deadlink.textContent = "#{quote}\u00A0(Dead)" return $.replace deadlink, a