Changeset 40568
- Timestamp:
- 05/02/2017 08:02:49 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/options.php
r36416 r40568 54 54 $( "input[name='date_format_custom']" ).val( $( this ).val() ).siblings( '.example' ).text( $( this ).parent( 'label' ).children( '.format-i18n' ).text() ); 55 55 }); 56 $( "input[name='date_format_custom']").focus(function(){56 $( 'input[name="date_format_custom"]' ).on( 'click input', function() { 57 57 $( '#date_format_custom_radio' ).prop( 'checked', true ); 58 58 }); … … 62 62 $( "input[name='time_format_custom']" ).val( $( this ).val() ).siblings( '.example' ).text( $( this ).parent( 'label' ).children( '.format-i18n' ).text() ); 63 63 }); 64 $( "input[name='time_format_custom']").focus(function(){64 $( 'input[name="time_format_custom"]' ).on( 'click input', function() { 65 65 $( '#time_format_custom_radio' ).prop( 'checked', true ); 66 66 });
Note: See TracChangeset
for help on using the changeset viewer.