Skip to content

Commit

Permalink
fixes #1879 - props @asilcetin
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath committed May 13, 2018
1 parent c934412 commit 3526db7
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.indexOf(i) != -1 ) { #> selected="selected" <# } #>>{{ choice }}</option>
<option value="{{{ i }}}" <# if ( -1 !== jQuery.inArray( i, field.default ) { #> selected="selected" <# } #>>{{ choice }}</option>
<# }); #>
</select>
</label>
Expand Down

0 comments on commit 3526db7

Please sign in to comment.