Skip to content

Commit f07a700

Browse files
Upgrade jQuery UI core cdn #880
1 parent bc79d1a commit f07a700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/Visualizer/Module/Chart.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ private function loadCodeEditorAssets( $chart_id ) {
633633
// data tables assets.
634634
wp_register_script( 'visualizer-datatables', VISUALIZER_ABSURL . 'js/lib/datatables.min.js', array( 'jquery-ui-core' ), Visualizer_Plugin::VERSION );
635635
wp_register_style( 'visualizer-datatables', VISUALIZER_ABSURL . 'css/lib/datatables.min.css', array(), Visualizer_Plugin::VERSION );
636-
wp_register_style( 'visualizer-jquery-ui', sprintf( '//ajax.googleapis.com/ajax/libs/jqueryui/%s/themes/smoothness/jquery-ui.css', $wp_scripts->registered['jquery-ui-core']->ver ), array( 'visualizer-datatables' ), Visualizer_Plugin::VERSION );
636+
wp_register_style( 'visualizer-jquery-ui', sprintf( '//code.jquery.com/ui/%s/themes/smoothness/jquery-ui.css', $wp_scripts->registered['jquery-ui-core']->ver ), array( 'visualizer-datatables' ), Visualizer_Plugin::VERSION );
637637
wp_enqueue_script( 'visualizer-datatables' );
638638
wp_enqueue_style( 'visualizer-jquery-ui' );
639639

0 commit comments

Comments
 (0)