Skip to content

Commit 1751247

Browse files
committed
[Team] Demo set
1 parent 33e8324 commit 1751247

File tree

3 files changed

+185
-180
lines changed

3 files changed

+185
-180
lines changed

classes/mighty-elementor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ public static function instance() {
2020
public function __construct() {
2121

2222
// Register Widget Styles
23-
add_action( 'elementor/frontend/after_register_styles', [ $this, 'widget_styles' ] );
24-
add_action( 'elementor/frontend/after_enqueue_styles', [ $this, 'mt_enqueue_styles' ] );
23+
add_action( 'wp_enqueue_scripts', [ $this, 'widget_styles' ] );
24+
add_action( 'wp_enqueue_scripts', [ $this, 'mt_enqueue_styles' ] );
2525

2626
add_action( 'elementor/editor/before_enqueue_scripts', [ $this, 'enqueue_editor_scripts' ] );
2727

widgets/accordion.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -441,15 +441,6 @@ protected function _register_controls() {
441441
]
442442
);
443443

444-
$this->add_group_control(
445-
Group_Control_Typography::get_type(),
446-
[
447-
'name' => 'icons_typography',
448-
'scheme' => Scheme_Typography::TYPOGRAPHY_1,
449-
'selector' => '{{WRAPPER}} .mighty-accordion .mt-panel .accordion .accordion-icons i',
450-
]
451-
);
452-
453444
$this->end_controls_tab();
454445

455446
$this->start_controls_tab(

0 commit comments

Comments
 (0)