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.
Here is few jsfiddles:
1. With original script: http://jsfiddle.net/srhn524o/
2. With fixed script: http://jsfiddle.net/1gdgh4kj/
Press Open and the Resize button


2014-08-13 12:00 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;
>
> It's your PR. I've just modified your code to make it easier to read.
> Honestly I don't even understand what you've changed in code and how
> exactly it helps in solving the problem.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/jackmoore/colorbox/pull/635/files#r16164305>.
>