Dont apply advance on contract if fappe tyme, temporarily
This commit is contained in:
parent
9462910961
commit
ffcb072e5c
@ -6182,7 +6182,7 @@
|
||||
return;
|
||||
}
|
||||
ImageExpand.contract(post);
|
||||
rect = Conf['Advance on contract'] ? post.nodes.root.nextSibling.getBoundingClientRect() : post.nodes.root.getBoundingClientRect();
|
||||
rect = Conf['Advance on contract'] && !($.hasClass(doc, 'fappeTyme')) ? post.nodes.root.nextSibling.getBoundingClientRect() : post.nodes.root.getBoundingClientRect();
|
||||
if (!(rect.top <= 0 || rect.left <= 0)) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -6191,7 +6191,7 @@
|
||||
return;
|
||||
}
|
||||
ImageExpand.contract(post);
|
||||
rect = Conf['Advance on contract'] ? post.nodes.root.nextSibling.getBoundingClientRect() : post.nodes.root.getBoundingClientRect();
|
||||
rect = Conf['Advance on contract'] && !($.hasClass(doc, 'fappeTyme')) ? post.nodes.root.nextSibling.getBoundingClientRect() : post.nodes.root.getBoundingClientRect();
|
||||
if (!(rect.top <= 0 || rect.left <= 0)) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -6169,7 +6169,7 @@
|
||||
return;
|
||||
}
|
||||
ImageExpand.contract(post);
|
||||
rect = Conf['Advance on contract'] ? post.nodes.root.nextSibling.getBoundingClientRect() : post.nodes.root.getBoundingClientRect();
|
||||
rect = Conf['Advance on contract'] && !($.hasClass(doc, 'fappeTyme')) ? post.nodes.root.nextSibling.getBoundingClientRect() : post.nodes.root.getBoundingClientRect();
|
||||
if (!(rect.top <= 0 || rect.left <= 0)) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -68,7 +68,7 @@ ImageExpand =
|
||||
ImageExpand.expand post
|
||||
return
|
||||
ImageExpand.contract post
|
||||
rect = if Conf['Advance on contract']
|
||||
rect = if Conf['Advance on contract'] and !($.hasClass doc, 'fappeTyme')
|
||||
post.nodes.root.nextSibling.getBoundingClientRect()
|
||||
else
|
||||
post.nodes.root.getBoundingClientRect()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user