• Resolved yhalinen

    (@yhalinen)


    Hi. In my gallery pages I have a btn (X) that closes the gallery. After the latest update of Elementor and WP it doesn’t work anymore. Here’s the code:

    <script type="text/javascript"> 
     
    jQuery(document).ready(function() {
        jQuery('#btn-back').on('click', function() {
          window.history.go(-1); 
          return false;
        });
    });
     
    </script>
    
    <script type="text/javascript"> 
     
    jQuery(document).ready(function() {
        jQuery('#btn-back2').on('click', function() {
          window.history.go(-1); 
          return false;
        });
    });
     
    </script>

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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Headers and Footers don’t work’ is closed to new replies.