Support » Plugin: ULTIMATE TABLES » conflict with custom javascript

  • Resolved soeezauto



    I have added some custom jquery script to function.php on my custom version of twentyfourteen theme and whenever I have a table on my post it will block one of my custom scripts ( the first one on the code below).

    If you go to page no. 1 below you will notice that you will get no response when clicking on the hamburger menu icon on your top right corner ( and in some other buttons on the same section).

    On page 2 below you will get the correct response.

    The difference is that page 1 has a table, while page 2 does not.

    I did take the table off from page 1 and it worked perfectly.

    page 1

    page 2

    For information the code added to functions.php is:

    function mytheme_custom_scripts(){
        wp_register_script( 'bpopup', '//', array('jquery'),null,true);
        wp_register_script( 'alertify-js', '//', array('jquery'),null,true);
        wp_register_script( 'footer_ajax', '//', array('jquery'),null,true);
        wp_enqueue_script( 'bpopup' );
        wp_enqueue_script( 'alertify-js' );
        wp_enqueue_script( 'footer_ajax' );
             wp_register_script( 'sess1', '//', array('jquery'),null,true);
             wp_enqueue_script( 'sess1' );
            wp_register_script( 'sess0', '//', array('jquery'),null,true);
            wp_enqueue_script( 'sess0' );
    add_action('wp_enqueue_scripts', 'mytheme_custom_scripts');

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter soeezauto


    Hold on with this, I seem to have found what the issue was. I will come back with a confirmation soon.

    Thread Starter soeezauto


    There was some code on my custom script which probably should not be there and that Ultimate Tables did not like.

    Just some document $(document).ready(function() { stuff.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘conflict with custom javascript’ is closed to new replies.