Fixes.
This commit is contained in:
parent
0ebdb86ea8
commit
82a92c3799
@ -759,7 +759,8 @@
|
|||||||
$.replace(a.parentNode.parentNode, bq);
|
$.replace(a.parentNode.parentNode, bq);
|
||||||
if (conf['Quote Preview']) quotePreview.node(bq);
|
if (conf['Quote Preview']) quotePreview.node(bq);
|
||||||
if (conf['Quote Inline']) quoteInline.node(bq);
|
if (conf['Quote Inline']) quoteInline.node(bq);
|
||||||
return quoteIndicators.node(bq);
|
if (conf['Indicate OP quote']) quoteOP.node(bq);
|
||||||
|
if (conf['Indicate Cross-thread Quotes']) return quoteDR.node(bq);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -3587,7 +3588,7 @@
|
|||||||
},
|
},
|
||||||
node: function(post) {
|
node: function(post) {
|
||||||
var img, src;
|
var img, src;
|
||||||
if (post.root.hidden || post.img) return;
|
if (post.root.hidden || !post.img) return;
|
||||||
src = post.img.parentNode.href;
|
src = post.img.parentNode.href;
|
||||||
if (/gif$/.test(src) && !/spoiler/.test(src)) {
|
if (/gif$/.test(src) && !/spoiler/.test(src)) {
|
||||||
img = $.el('img');
|
img = $.el('img');
|
||||||
|
|||||||
@ -641,7 +641,10 @@ expandComment =
|
|||||||
quotePreview.node bq
|
quotePreview.node bq
|
||||||
if conf['Quote Inline']
|
if conf['Quote Inline']
|
||||||
quoteInline.node bq
|
quoteInline.node bq
|
||||||
quoteIndicators.node bq
|
if conf['Indicate OP quote']
|
||||||
|
quoteOP.node bq
|
||||||
|
if conf['Indicate Cross-thread Quotes']
|
||||||
|
quoteDR.node bq
|
||||||
|
|
||||||
expandThread =
|
expandThread =
|
||||||
init: ->
|
init: ->
|
||||||
@ -2892,7 +2895,7 @@ imgGif =
|
|||||||
init: ->
|
init: ->
|
||||||
g.callbacks.push @node
|
g.callbacks.push @node
|
||||||
node: (post) ->
|
node: (post) ->
|
||||||
return if post.root.hidden or post.img
|
return if post.root.hidden or not post.img
|
||||||
src = post.img.parentNode.href
|
src = post.img.parentNode.href
|
||||||
if /gif$/.test(src) and !/spoiler/.test src
|
if /gif$/.test(src) and !/spoiler/.test src
|
||||||
img = $.el 'img'
|
img = $.el 'img'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user