From: Anthony Talarico Date: Mon, 16 May 2016 15:15:49 +0000 (-0400) Subject: removed code from fancybox js and added helper function to fancybox init X-Git-Tag: v2.0.0^2~16^2~4 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=632d51f520f5ce31ab9ef2fa783a303b37b877bd;p=WP-Plugins%2Fglm-member-db.git removed code from fancybox js and added helper function to fancybox init --- diff --git a/fancybox/source/jquery.fancybox.pack.js b/fancybox/source/jquery.fancybox.pack.js index ba1db8e6..73f75784 100644 --- a/fancybox/source/jquery.fancybox.pack.js +++ b/fancybox/source/jquery.fancybox.pack.js @@ -28,14 +28,7 @@ g);break;case "swf":e='n&&(c=n,j=l(c/D)),j>p&&(j=p,c=l(j*D)),cz||y>r)&&(c>m&&j>u)&&!(19n&&(c=n,j=l(c/D)),g.width(c).height(j),e.width(c+x),a=e.width(),y=e.height();else c=Math.max(m,Math.min(c,c-(a-z))),j=Math.max(u,Math.min(j,j-(y-r)));q&&("auto"===s&&jz||y>r)&&c>m&&j>u;c=h.aspectRatio?cu&&jz||y>r)&&c>m&&j>u;c=h.aspectRatio?cu&&j