| @@ -147,9 +147,9 @@ | ||
| 147 | 147 | if (!empty($settings['system_typography'])) { |
| 148 | 148 | foreach ($settings['system_typography'] as $key => $typo) { |
| 149 | 149 | if(!empty($typography[$typo['_id']])){ |
| 150 | 150 | $settings['system_typography'][$key] = array_merge($typo, $typography[$typo['_id']]); |
| 151 | - if(class_exists('Elementor\Core\Files\Fonts\Google_Font') && !empty($typo['typography_font_family'])){ | |
| 151 | + if(class_exists('Elementor\Core\Files\Fonts\Google_Font')){ | |
| 152 | 152 | Google_Font::enqueue( $typo['typography_font_family'] ); |
| 153 | 153 | } |
| 154 | 154 | } |
| 155 | 155 | } |
| @@ -157,9 +157,9 @@ | ||
| 157 | 157 | if (!empty($settings['custom_typography'])) { |
| 158 | 158 | foreach ($settings['custom_typography'] as $key => $typo) { |
| 159 | 159 | if(!empty($typography[$typo['_id']])){ |
| 160 | 160 | $settings['custom_typography'][$key] = array_merge($typo, $typography[$typo['_id']]); |
| 161 | - if(class_exists('Elementor\Core\Files\Fonts\Google_Font') && !empty($typo['typography_font_family'])){ | |
| 161 | + if(class_exists('Elementor\Core\Files\Fonts\Google_Font')){ | |
| 162 | 162 | Google_Font::enqueue( $typo['typography_font_family'] ); |
| 163 | 163 | } |
| 164 | 164 | } |
| 165 | 165 | } |