dimsemenov/Magnific-Popup — pull request #431 by loicolas (2014-04-07 12:47:41+00:00)
Title: Update jquery.magnific-popup.js

Ensure that the content from ajax request has a root element.
In some framework, like Symfony2, you can add some comment from the controller in the debug mode to help the developers to know which template is loaded. As the comments break Magnific Popup if they are outside the root element.
This PR fix the bug mentionned here : https://github.com/dimsemenov/Magnific-Popup/issues/34