Skip to content

Commit

Permalink
fixes #1876
Browse files Browse the repository at this point in the history
  • Loading branch information
asilcetin committed Apr 30, 2018
1 parent e1d447d commit e64b116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controls/php/class-kirki-control-repeater.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public function repeater_js_template() {
<# if ( field.description ) { #><span class="description customize-control-description">{{{ field.description }}}</span><# } #>
<select data-field="{{{ field.id }}}"<# if ( ! _.isUndefined( field.multiple ) && false !== field.multiple ) { #> multiple="multiple" data-multiple="{{ field.multiple }}"<# } #>>
<# _.each( field.choices, function( choice, i ) { #>
<option value="{{{ i }}}" <# if ( field.default == i ) { #> selected="selected" <# } #>>{{ choice }}</option>
<option value="{{{ i }}}" <# if ( field.default.indexOf(i) != -1 ) { #> selected="selected" <# } #>>{{ choice }}</option>
<# }); #>
</select>
</label>
Expand Down

0 comments on commit e64b116

Please sign in to comment.