• Resolved melinaaudic

    (@melinaaudic)


    Hi,

    I love what you do ! Just a little problem with PhotoSwipe, it doesn’t work on my website. Can you help me to solve it ?

    Thanks,
    Mélina

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Damian Góra

    (@damian-gora)

    Hi,
    The problem is in your theme “Kameleon”. Take a look at the file wp-content/themes/kameleon/assets/js/default.script.js There is following code, which blocks the photoswipe:

    
    "true" === a("#body").attr("data-ajax-effect") && a("#km-theboss").find("a").click(function(b) {
                var c = a(this).attr("href")
                  , d = a(this).attr("target");
                if ("#" != c.substring(0, 1) && "_blank" != d)
                    return a("#km-pageloader").attr({
                        "data-situation": "shown",
                        "data-ajax": "ajaxeffect"
                    }),
                    a("html, body").animate({
                        scrollTop: 0
                    }),
                    setTimeout(function() {
                        window.location.href = c
                    }, 400),
                    !1;
                b.stopPropagation()
            }),
    

    Try to contact the author of the “Kameleon” theme.

Viewing 1 replies (of 1 total)
  • The topic ‘Photoswipe doesn’t work’ is closed to new replies.