Magnific-Popup
Magnific-Popup copied to clipboard
pass event to disableOn handler
Sometimes event in disableOn handler is need. For example if we need to disable popup when there is a disabled attribute on el that we clicked so we need to get element (e.target). (In the state when handler is called there is no el properties on instance.)
related to #923