Forgot a couple.
This commit is contained in:
parent
0e68fe013f
commit
c6954ee1bb
@ -1365,9 +1365,6 @@
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$.addClass(quotelink, 'deadlink');
|
$.addClass(quotelink, 'deadlink');
|
||||||
if (!Conf['Quote Markers']) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
QuoteMarkers.parseQuotelink(Get.postFromNode(quotelink), quotelink, true);
|
QuoteMarkers.parseQuotelink(Get.postFromNode(quotelink), quotelink, true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -1397,9 +1394,6 @@
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$.rmClass(quotelink, 'deadlink');
|
$.rmClass(quotelink, 'deadlink');
|
||||||
if (!Conf['Quote Markers']) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
QuoteMarkers.parseQuotelink(Get.postFromNode(quotelink), quotelink, true);
|
QuoteMarkers.parseQuotelink(Get.postFromNode(quotelink), quotelink, true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -5236,9 +5230,6 @@
|
|||||||
}
|
}
|
||||||
if (this.isClone) {
|
if (this.isClone) {
|
||||||
this.nodes.backlinkContainer = $('.backlink-container', this.nodes.info);
|
this.nodes.backlinkContainer = $('.backlink-container', this.nodes.info);
|
||||||
if (!Conf['Quote Markers']) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_ref = this.nodes.backlinks;
|
_ref = this.nodes.backlinks;
|
||||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||||
backlink = _ref[_i];
|
backlink = _ref[_i];
|
||||||
@ -5272,9 +5263,7 @@
|
|||||||
if (quoter.isHidden) {
|
if (quoter.isHidden) {
|
||||||
$.addClass(a, 'filtered');
|
$.addClass(a, 'filtered');
|
||||||
}
|
}
|
||||||
if (Conf['Quote Markers']) {
|
QuoteMarkers.parseQuotelink(quoted, a, false, text);
|
||||||
QuoteMarkers.parseQuotelink(quoted, a, false, text);
|
|
||||||
}
|
|
||||||
if (Conf['Quote Previewing']) {
|
if (Conf['Quote Previewing']) {
|
||||||
$.on(a, 'mouseover', QuotePreview.mouseover);
|
$.on(a, 'mouseover', QuotePreview.mouseover);
|
||||||
}
|
}
|
||||||
@ -5812,9 +5801,7 @@
|
|||||||
this.quotes.push(quoteID);
|
this.quotes.push(quoteID);
|
||||||
}
|
}
|
||||||
if (!a) {
|
if (!a) {
|
||||||
if (Conf['Quote Markers']) {
|
deadlink.textContent = "" + quote + "\u00A0(Dead)";
|
||||||
deadlink.textContent = "" + quote + "\u00A0(Dead)";
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.replace(deadlink, a);
|
$.replace(deadlink, a);
|
||||||
|
|||||||
@ -1420,9 +1420,6 @@
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$.addClass(quotelink, 'deadlink');
|
$.addClass(quotelink, 'deadlink');
|
||||||
if (!Conf['Quote Markers']) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
QuoteMarkers.parseQuotelink(Get.postFromNode(quotelink), quotelink, true);
|
QuoteMarkers.parseQuotelink(Get.postFromNode(quotelink), quotelink, true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -1452,9 +1449,6 @@
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$.rmClass(quotelink, 'deadlink');
|
$.rmClass(quotelink, 'deadlink');
|
||||||
if (!Conf['Quote Markers']) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
QuoteMarkers.parseQuotelink(Get.postFromNode(quotelink), quotelink, true);
|
QuoteMarkers.parseQuotelink(Get.postFromNode(quotelink), quotelink, true);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -5288,9 +5282,6 @@
|
|||||||
}
|
}
|
||||||
if (this.isClone) {
|
if (this.isClone) {
|
||||||
this.nodes.backlinkContainer = $('.backlink-container', this.nodes.info);
|
this.nodes.backlinkContainer = $('.backlink-container', this.nodes.info);
|
||||||
if (!Conf['Quote Markers']) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_ref = this.nodes.backlinks;
|
_ref = this.nodes.backlinks;
|
||||||
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
|
||||||
backlink = _ref[_i];
|
backlink = _ref[_i];
|
||||||
@ -5324,9 +5315,7 @@
|
|||||||
if (quoter.isHidden) {
|
if (quoter.isHidden) {
|
||||||
$.addClass(a, 'filtered');
|
$.addClass(a, 'filtered');
|
||||||
}
|
}
|
||||||
if (Conf['Quote Markers']) {
|
QuoteMarkers.parseQuotelink(quoted, a, false, text);
|
||||||
QuoteMarkers.parseQuotelink(quoted, a, false, text);
|
|
||||||
}
|
|
||||||
if (Conf['Quote Previewing']) {
|
if (Conf['Quote Previewing']) {
|
||||||
$.on(a, 'mouseover', QuotePreview.mouseover);
|
$.on(a, 'mouseover', QuotePreview.mouseover);
|
||||||
}
|
}
|
||||||
@ -5864,9 +5853,7 @@
|
|||||||
this.quotes.push(quoteID);
|
this.quotes.push(quoteID);
|
||||||
}
|
}
|
||||||
if (!a) {
|
if (!a) {
|
||||||
if (Conf['Quote Markers']) {
|
deadlink.textContent = "" + quote + "\u00A0(Dead)";
|
||||||
deadlink.textContent = "" + quote + "\u00A0(Dead)";
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.replace(deadlink, a);
|
$.replace(deadlink, a);
|
||||||
|
|||||||
@ -255,7 +255,6 @@ class Post
|
|||||||
# and paint them (Dead).
|
# and paint them (Dead).
|
||||||
for quotelink in Get.allQuotelinksLinkingTo @ when not $.hasClass quotelink, 'deadlink'
|
for quotelink in Get.allQuotelinksLinkingTo @ when not $.hasClass quotelink, 'deadlink'
|
||||||
$.addClass quotelink, 'deadlink'
|
$.addClass quotelink, 'deadlink'
|
||||||
continue unless Conf['Quote Markers']
|
|
||||||
QuoteMarkers.parseQuotelink Get.postFromNode(quotelink), quotelink, true
|
QuoteMarkers.parseQuotelink Get.postFromNode(quotelink), quotelink, true
|
||||||
return
|
return
|
||||||
# XXX tmp fix for 4chan's racing condition
|
# XXX tmp fix for 4chan's racing condition
|
||||||
@ -276,7 +275,6 @@ class Post
|
|||||||
|
|
||||||
for quotelink in Get.allQuotelinksLinkingTo @ when $.hasClass quotelink, 'deadlink'
|
for quotelink in Get.allQuotelinksLinkingTo @ when $.hasClass quotelink, 'deadlink'
|
||||||
$.rmClass quotelink, 'deadlink'
|
$.rmClass quotelink, 'deadlink'
|
||||||
continue unless Conf['Quote Markers']
|
|
||||||
QuoteMarkers.parseQuotelink Get.postFromNode(quotelink), quotelink, true
|
QuoteMarkers.parseQuotelink Get.postFromNode(quotelink), quotelink, true
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
@ -42,7 +42,6 @@ QuoteBacklink =
|
|||||||
return unless @isReply or Conf['OP Backlinks']
|
return unless @isReply or Conf['OP Backlinks']
|
||||||
if @isClone
|
if @isClone
|
||||||
@nodes.backlinkContainer = $ '.backlink-container', @nodes.info
|
@nodes.backlinkContainer = $ '.backlink-container', @nodes.info
|
||||||
return unless Conf['Quote Markers']
|
|
||||||
for backlink in @nodes.backlinks
|
for backlink in @nodes.backlinks
|
||||||
QuoteMarkers.parseQuotelink @, backlink, true, QuoteBacklink.funk Get.postDataFromLink(backlink).postID
|
QuoteMarkers.parseQuotelink @, backlink, true, QuoteBacklink.funk Get.postDataFromLink(backlink).postID
|
||||||
return
|
return
|
||||||
@ -63,8 +62,7 @@ QuoteBacklink =
|
|||||||
$.addClass a, 'deadlink'
|
$.addClass a, 'deadlink'
|
||||||
if quoter.isHidden
|
if quoter.isHidden
|
||||||
$.addClass a, 'filtered'
|
$.addClass a, 'filtered'
|
||||||
if Conf['Quote Markers']
|
QuoteMarkers.parseQuotelink quoted, a, false, text
|
||||||
QuoteMarkers.parseQuotelink quoted, a, false, text
|
|
||||||
if Conf['Quote Previewing']
|
if Conf['Quote Previewing']
|
||||||
$.on a, 'mouseover', QuotePreview.mouseover
|
$.on a, 'mouseover', QuotePreview.mouseover
|
||||||
if Conf['Quote Inlining']
|
if Conf['Quote Inlining']
|
||||||
|
|||||||
@ -64,7 +64,7 @@ Quotify =
|
|||||||
@quotes.push quoteID unless quoteID in @quotes
|
@quotes.push quoteID unless quoteID in @quotes
|
||||||
|
|
||||||
unless a
|
unless a
|
||||||
deadlink.textContent = "#{quote}\u00A0(Dead)" if Conf['Quote Markers']
|
deadlink.textContent = "#{quote}\u00A0(Dead)"
|
||||||
return
|
return
|
||||||
|
|
||||||
$.replace deadlink, a
|
$.replace deadlink, a
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user