Fix magnific popup link urls