Dont apply advance on contract if fappe tyme, temporarily

This commit is contained in:
Jordan Bates 2013-05-20 14:45:03 -07:00
parent 9462910961
commit ffcb072e5c
4 changed files with 4 additions and 4 deletions

View File

@ -6182,7 +6182,7 @@
return; return;
} }
ImageExpand.contract(post); 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)) { if (!(rect.top <= 0 || rect.left <= 0)) {
return; return;
} }

View File

@ -6191,7 +6191,7 @@
return; return;
} }
ImageExpand.contract(post); 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)) { if (!(rect.top <= 0 || rect.left <= 0)) {
return; return;
} }

View File

@ -6169,7 +6169,7 @@
return; return;
} }
ImageExpand.contract(post); 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)) { if (!(rect.top <= 0 || rect.left <= 0)) {
return; return;
} }

View File

@ -68,7 +68,7 @@ ImageExpand =
ImageExpand.expand post ImageExpand.expand post
return return
ImageExpand.contract post ImageExpand.contract post
rect = if Conf['Advance on contract'] rect = if Conf['Advance on contract'] and !($.hasClass doc, 'fappeTyme')
post.nodes.root.nextSibling.getBoundingClientRect() post.nodes.root.nextSibling.getBoundingClientRect()
else else
post.nodes.root.getBoundingClientRect() post.nodes.root.getBoundingClientRect()