| @@ -1,11 +1,12 @@ | ||
| 1 | 1 | <?php |
| 2 | + | |
| 2 | 3 | namespace Elementor\Core\Kits\Controls; |
| 3 | 4 | |
| 4 | 5 | use Elementor\Control_Repeater; |
| 5 | 6 | |
| 6 | 7 | if ( ! defined( 'ABSPATH' ) ) { |
| 7 | - exit; // Exit if accessed directly. | |
| 8 | + exit; // Exit if accessed directly | |
| 8 | 9 | } |
| 9 | 10 | |
| 10 | 11 | class Repeater extends Control_Repeater { |
| 11 | 12 | |
| @@ -39,8 +40,9 @@ | ||
| 39 | 40 | protected function get_default_settings() { |
| 40 | 41 | $settings = parent::get_default_settings(); |
| 41 | 42 | |
| 42 | 43 | $settings['item_actions']['duplicate'] = false; |
| 44 | + $settings['item_actions']['sort'] = false; | |
| 43 | 45 | |
| 44 | 46 | return $settings; |
| 45 | 47 | } |
| 46 | 48 | |
| @@ -55,14 +57,13 @@ | ||
| 55 | 57 | * @access public |
| 56 | 58 | */ |
| 57 | 59 | public function content_template() { |
| 58 | 60 | ?> |
| 59 | - <div class="elementor-repeater-fields-wrapper" role="list"></div> | |
| 61 | + <div class="elementor-repeater-fields-wrapper"></div> | |
| 60 | 62 | <# if ( itemActions.add ) { #> |
| 61 | 63 | <div class="elementor-button-wrapper"> |
| 62 | - <button class="elementor-button elementor-repeater-add" type="button"> | |
| 63 | - <i class="eicon-plus" aria-hidden="true"></i> | |
| 64 | - <span class="elementor-repeater__add-button__text">{{{ addButtonText }}}</span> | |
| 64 | + <button class="elementor-button elementor-button-default elementor-repeater-add" type="button"> | |
| 65 | + <i class="eicon-plus" aria-hidden="true"></i><span class="elementor-repeater__add-button__text">{{{ addButtonText }}}</span> | |
| 65 | 66 | </button> |
| 66 | 67 | </div> |
| 67 | 68 | <# } #> |
| 68 | 69 | <?php |