Javascript

J

JoyFreak

Guest
Member
I have the following in the template but it no longer works in 2.3. What is causing this to break?
Code:

Code:

Code:
    <xf:js>                   
    $(".jf-wrapper").on("click", function(event) {
        $(".jf-wrapper").addClass("is-active");
        event.stopPropagation();
    });
    $(".jf-wrapper").on("click", function(event) {
        event.stopPropagation();
    });
    $(document).on("click", function(event) {
        $(".jf-wrapper").removeClass("is-active");
    });   
    </xf:js>
...

Read more

Continue reading...
 
BlackSpigot General Chat
Rules Help Users
    Z @ zezohassan: hi
    Top