Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed Nov 10, 2018
1 parent 68c116c commit 2f30f70
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions modules/gutenberg/class-kirki-modules-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,9 @@ public function get_styles() {
continue;
}

$styles = $this->modules_css::loop_controls( $config_id );
$styles = apply_filters( "kirki_gutenberg_{$config_id}_dynamic_css", $styles );
$modules_css = $this->modules_css;
$styles = $modules_css::loop_controls( $config_id );
$styles = apply_filters( "kirki_gutenberg_{$config_id}_dynamic_css", $styles );

if ( empty( $styles ) ) {
continue;
Expand Down Expand Up @@ -280,8 +281,8 @@ public function enqueue_fontawesome() {
if ( $this->is_disabled( $args ) ) {
continue;
}

if ( $this->modules_css::get_enqueue_fa() && apply_filters( 'kirki_load_fontawesome', true ) ) {
$modules_css = $this->modules_css;
if ( $modules_css::get_enqueue_fa() && apply_filters( 'kirki_load_fontawesome', true ) ) {
wp_enqueue_script( 'kirki-fontawesome-font', 'https://use.fontawesome.com/30858dc40a.js', array(), '4.0.7', true );
}

Expand Down

0 comments on commit 2f30f70

Please sign in to comment.