Hello Chris,
You're right! Apologies.. I've inspected the page source and the chosen.jquery.min.js script does indeed appear after jquery.
I forgot to mention that I'm using latest jquery and jqueryui libraries. I load them in functions.php as following:
add_action( 'wp_enqueue_scripts', 'dlfrw_enqueue_scripts', 1 );
function dlfrw_enqueue_scripts() {
// general jquery & other libraries include
if( !is_admin() ){
wp_deregister_script('jquery');
wp_register_script('jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js', false, '1.9.1');
wp_register_script('jqueryui', '//ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/jquery-ui.min.js', array('jquery'), '1.10.0');
wp_enqueue_script('jquery');
wp_enqueue_script('jqueryui');
}
}
There doesn't seem to be any JS errors, but it still looks very broken as per perviously provided screen shot.
Any idea how it can be fixed?
Many thanks, Dasha
Posted 11 years ago on Friday March 15, 2013 |
Permalink