Magnific Popup close button placed in invalid html? -


using magnific popup, when gallery displays, i'm seeing generated code nests <button> close gallery within <img> that's being displayed, so: <img><button></img>. according mdn's img tag details, permitted content isn't allowed, it's empty element. result, close button isn't displaying in gallery. there way fix this?

in gallery initialization object, you're passing along array of markup snippets. markup <img> tag, fixed wrapping <img> in <div>.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -