Skip to content

Commit b37526d

Browse files
authored
Merge pull request #687 from 10up/fix/685
Ensure the jQuery UI Dialog CSS is loaded properly
2 parents 7fa4155 + 1ff18e2 commit b37526d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

includes/Classifai/Plugin.php

+2-7
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,8 @@ public function enqueue_admin_assets() {
159159
wp_enqueue_style(
160160
'classifai-admin-style',
161161
CLASSIFAI_PLUGIN_URL . 'dist/admin.css',
162-
array( 'wp-components' ),
163-
array(
164-
get_asset_info( 'admin', 'version' ),
165-
array(
166-
'wp-jquery-ui-dialog',
167-
),
168-
),
162+
array( 'wp-components', 'wp-jquery-ui-dialog' ),
163+
get_asset_info( 'admin', 'version' ),
169164
'all'
170165
);
171166

0 commit comments

Comments
 (0)