WordPress.org

Support

Support » Plugins and Hacks » Move js to file?

Move js to file?

  • Hey I noticed you have this script echoing out into the header of the admin.

    jQuery( document ).ready( function( $ ) { 
    
          jQuery( ".chosen" ).chosen();
    
          // Tooltips
          jQuery(".tips, .help_tip").tipTip({
            'attribute' : 'data-tip',
            'fadeIn' : 50,
            'fadeOut' : 50,
            'delay' : 200
          });
    
        });

    I’m wondering if you can move it to a js file and enqueue it. The reason is with the redux theme options framework it seems to cause a js error unless it’s enqueued.

    http://wordpress.org/plugins/event-calendar-ticketing/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Move js to file?’ is closed to new replies.