I am trying to implement magnific popup
I am having following link <a class="simple-ajax-popup" href="/index.json">load json</a>
When I click the link, lightbox is in loading state and throws an exception as
Uncaught TypeError: Cannot call method 'createDocumentFragment' of undefined
I am using rails 4 and also I have jquery-fileupload
plugin but it is working.