Skip to content

Commit

Permalink
Use latest jQuery UI css library
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyrob committed Feb 24, 2019
1 parent af821f7 commit 8af91bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Update Excerpt creation code for languages that don't use spaces - props Masatoshi Hakoshima
* Improved layout and efficiency of JavaScript files
* Enable Preview emails for Classic Editor users
* Update to use latest jQuery UI css library
* Tidied up unused globals

= 10.26 =
Expand Down
2 changes: 1 addition & 1 deletion classes/class-s2-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public function option_form_js() {
wp_enqueue_script( 's2_edit' );
if ( 'never' !== $this->subscribe2_options['email_freq'] ) {
wp_enqueue_script( 'jquery-ui-datepicker' );
wp_enqueue_style( 'jquery-style', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css', array(), '1.11.4' );
wp_enqueue_style( 'jquery-style', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css', array(), '1.12.1' );
wp_register_script( 's2_date_time', S2URL . 'include/s2-date-time' . $this->script_debug . '.js', array( 'jquery-ui-datepicker' ), '1.1', true );
wp_enqueue_script( 's2_date_time' );
}
Expand Down

0 comments on commit 8af91bc

Please sign in to comment.