Open anteksiler opened 9 years ago
I would like to run $.magnificPopup.close(); only if there is a popup open. Is that possible? And can we add callbacks to $.magnificPopup.close() ?
of course. You could write the cases such as mfp = $.magnificPopup.instance; if(!mfp.isOpen) {...}
mfp = $.magnificPopup.instance; if(!mfp.isOpen) {...}
I would like to run $.magnificPopup.close(); only if there is a popup open. Is that possible? And can we add callbacks to $.magnificPopup.close() ?