ericmmartin/simplemodal — pull request #17 by danshultz (2012-11-02 18:22:33+00:00)
Title: Replaced HTML does not trigger modal close for elements with closeClass

If the html is late loaded into the modal or the html in the modal is changed, elements with the close class do not trigger close as the event is bound directly to the element vs the container element.

Since I was unsure what versions of jQuery you were supporting I used $.delegate vs $.on but please let me know if you prefer this to be changed to $.on

Thanks,
Dan