lauxley/leanModal.js

Bind close event on a selector

Opened this issue · 0 comments

The close event is bound to the modal object directly, if we bind it to a selector, we will be able to make it 'live' which means that newly created modals won't need to bind it again.