kylefox/jquery-modal — pull request #14 by adrianolaru (2012-02-19 04:54:35+00:00)
Title: Resizing and centering bug fixes

* Used the right API in Resize example
* Resize only if a modal exists
* Center modal after applying modalClass styles
This fixes centering the modal in AJAX example,
but it also fixes the case where a modal element
doesn't have a modalClass set.
* Added event parameter to $.modal.close which got lost on the way.