input-text (thanks @lukecarbis)
This commit is contained in:
parent
37e13101a8
commit
878dae75e8
|
@ -211,7 +211,7 @@ jQuery(document).ready(function($) {
|
|||
$(state_box).val(value);
|
||||
} else {
|
||||
if ($(state_box).is('select')) {
|
||||
$(state_box).replaceWith('<input type="text" placeholder="' + woocommerce_params.state_text + '" name="' + input_name + '" id="' + input_id + '" />');
|
||||
$(state_box).replaceWith('<input type="text" class="input-text" placeholder="' + woocommerce_params.state_text + '" name="' + input_name + '" id="' + input_id + '" />');
|
||||
state_box = $('#' + $(this).attr('rel'));
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue