Skip to content

Commit

Permalink
fixed : some css assets are always loaded minified
Browse files Browse the repository at this point in the history
  • Loading branch information
nikeo committed Nov 26, 2019
1 parent a4635f8 commit 06f4500
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _dev_php/0_1_czr-base-fmk-load_resources.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ function ac_load_additional_controls_css() {
//overriden by some specific style in czr-control-base.css
wp_enqueue_style(
'czr-select2-css',
sprintf('%1$s/assets/css/lib/czrSelect2.min.css', NIMBLE_FMK_BASE_URL, ( defined('WP_DEBUG') && true === WP_DEBUG ) ? '' : '.min'),
sprintf('%1$s/assets/css/lib/czrSelect2.min.css', NIMBLE_FMK_BASE_URL ),
array( 'customize-controls' ),
( defined('WP_DEBUG') && true === WP_DEBUG ) ? time() : NIMBLE_FMK_BASE_VERSION,
$media = 'all'
);

wp_enqueue_style(
'czr-font-awesome',
sprintf('%1$s/assets/fonts/css/fontawesome-all.min.css', NIMBLE_FMK_BASE_URL, ( defined('WP_DEBUG') && true === WP_DEBUG ) ? '' : '.min'),
sprintf('%1$s/assets/fonts/css/fontawesome-all.min.css', NIMBLE_FMK_BASE_URL ),
array(),
( defined('WP_DEBUG') && true === WP_DEBUG ) ? time() : NIMBLE_FMK_BASE_VERSION,
$media = 'all'
Expand Down

0 comments on commit 06f4500

Please sign in to comment.