Skip to content

Commit bad3343

Browse files
committed
Merge pull request #344 from alleyinteractive/datepicker-template
Remove closing slash from a.m./p.m. select element
2 parents 7577ead + 553cba7 commit bad3343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/datepicker.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class="fm-element fm-datepicker-popup"
1717
:
1818
<input class="fm-element fm-datepicker-time" type="text" value="<?php echo esc_attr( $this->get_minute( $value ) ); ?>" name="<?php echo esc_attr( $this->get_form_name( '[minute]' ) ); ?>" />
1919
<?php if ( $this->use_am_pm ): ?>
20-
<select class="fm-element" name="<?php echo esc_attr( $this->get_form_name( '[ampm]' ) ); ?>" />
20+
<select class="fm-element" name="<?php echo esc_attr( $this->get_form_name( '[ampm]' ) ); ?>">
2121
<option value="am"<?php selected( $this->get_am_pm( $value ), 'am' ) ?>>A.M.</option>
2222
<option value="pm"<?php selected( $this->get_am_pm( $value ), 'pm' ) ?>>P.M.</option>
2323
</select>

0 commit comments

Comments
 (0)