Open linuxoid opened 6 years ago
For some reason initializing the popup directly $('.form-a').magnificPopup({ works slightly different to $.magnificPopup.open({.
Option focus: '#name' - works with the former initialization. But it loses focus on the element with the latter.
Any ides why? How to make it keep focus?
For some reason initializing the popup directly $('.form-a').magnificPopup({ works slightly different to $.magnificPopup.open({.
Option focus: '#name' - works with the former initialization. But it loses focus on the element with the latter.
Any ides why? How to make it keep focus?