input-text (thanks @lukecarbis)

This commit is contained in:
Mike Jolley 2011-11-16 09:56:35 +00:00
parent 37e13101a8
commit 878dae75e8
2 changed files with 2 additions and 2 deletions

View File

@ -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