Forums Forums Search & Filter Pro Ajax event hooks not working

Tagged: 

Viewing 1 post (of 1 total)
  • Trevor
    #263462

    I would have coded that like this:

    <script>(function ( $ ) {
      "use strict";
      var bricklayer = new Bricklayer(document.getElementById('my-bricklayer'));
      $(document).on("sf:ajaxfinish", ".searchandfilter", function(){
        console.log("ajax complete");
        //do or stop your animation
      });
    }(jQuery));</script>
Viewing 1 post (of 1 total)