| @@ -39,9 +39,9 @@ | ||
| 39 | 39 | * @since 1.0.0 |
| 40 | 40 | * @access public |
| 41 | 41 | */ |
| 42 | 42 | public function content_template() { |
| 43 | - $control_uid_input_type = '{{value}}'; | |
| 43 | + $control_uid = $this->get_control_uid( '{{value}}' ); | |
| 44 | 44 | ?> |
| 45 | 45 | <div class="elementor-control-field"> |
| 46 | 46 | <label class="elementor-control-title">{{{ data.label }}}</label> |
| 47 | 47 | <div class="elementor-control-input-wrapper"> |
| @@ -46,10 +46,10 @@ | ||
| 46 | 46 | <label class="elementor-control-title">{{{ data.label }}}</label> |
| 47 | 47 | <div class="elementor-control-input-wrapper"> |
| 48 | 48 | <div class="elementor-choices"> |
| 49 | 49 | <# _.each( data.options, function( options, value ) { #> |
| 50 | - <input id="<?php $this->print_control_uid( $control_uid_input_type ); ?>" type="radio" name="elementor-choose-{{ data.name }}-{{ data._cid }}" value="{{ value }}"> | |
| 51 | - <label class="elementor-choices-label elementor-control-unit-1 tooltip-target" for="<?php $this->print_control_uid( $control_uid_input_type ); ?>" data-tooltip="{{ options.title }}"> | |
| 50 | + <input id="<?php echo $control_uid; ?>" type="radio" name="elementor-choose-{{ data.name }}-{{ data._cid }}" value="{{ value }}"> | |
| 51 | + <label class="elementor-choices-label elementor-control-unit-1 tooltip-target" for="<?php echo $control_uid; ?>" data-tooltip="{{ options.title }}" title="{{ options.title }}"> | |
| 52 | 52 | <i class="{{ options.icon }}" aria-hidden="true"></i> |
| 53 | 53 | <span class="elementor-screen-only">{{{ options.title }}}</span> |
| 54 | 54 | </label> |
| 55 | 55 | <# } ); #> |