Skip to content

Commit

Permalink
using zepto on to handle onload
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolerd committed Aug 25, 2015
1 parent 9475a83 commit ec1bf10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/static/src/js/gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
performScroll();
}

document.addEventListener("DOMContentLoaded", (function () {
$(document).on("DOMContentLoaded", (function () {
var gallery = $("#gallery");
gallery.magnificPopup({
delegate: "a",
Expand Down

0 comments on commit ec1bf10

Please sign in to comment.