colinyoung/rails-modals — pull request #1 by polymatt (2014-06-16 14:07:46+00:00)
Title: Deligate button click event

I hit this issue where elements rendered after the initial page load weren't picking up the 'click' event. Changed it so the click is delegated from the document instead so it works for dynamic `data-open-modal