Bugfix maxHeight after $.colorbox.resize()

Earlier, if I set .colorbox{maxHeight:'95%'...} then colorbox frame gets vertical scrollbar (if content is heighter than frame) but if then I do $.colorbox.resize() my colorbox frame becomes heighter than wrapper page and my maxHeight option is ignored, so this is bugfix for it.
Will you merge this? How to implement correct resize after window resize in
case of maxHeight is configured?


2014-08-13 12:46 GMT+03:00 Alexander Obuhovich <notifications@github.com>:

> In jquery.colorbox.js:
>
> > @@ -733,6 +733,7 @@
> >  				scrolltop = $loaded.scrollTop();
> >  				$loaded.css({height: "auto"});
> >  				settings.h = $loaded.height();
> > +				if (settings.h > settings.mh) settings.h=settings.mh;
>
> OK, now I get it.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/jackmoore/colorbox/pull/635/files#r16166268>.
>