Open glebtv opened 8 years ago
Options (for example, callbacks) are not updated if pop up is already open Because of this: https://github.com/dimsemenov/Magnific-Popup/blob/master/src/js/core.js#L167
For callbacks I fixed it like this:
if(mfp.isOpen) { mfp.st.callbacks = data.callbacks; mfp.updateItemHTML(); return; }
Came across the same issue, fixed by just removing this condition altogether (the suggested addition didn't work).
Options (for example, callbacks) are not updated if pop up is already open Because of this: https://github.com/dimsemenov/Magnific-Popup/blob/master/src/js/core.js#L167
For callbacks I fixed it like this: