Make WordPress Core


Ignore:
Timestamp:
12/03/2013 06:20:19 PM (12 years ago)
Author:
nacin
Message:

Use jQuery.prop('checked') instead of jQuery.attr.

props Frank Klein.
fixes #26378.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-general.php

    r26518 r26571  
    3333        });
    3434        $("input[name='date_format_custom']").focus(function(){
    35             $("#date_format_custom_radio").attr("checked", "checked");
     35            $( '#date_format_custom_radio' ).prop( 'checked', true );
    3636        });
    3737
     
    4141        });
    4242        $("input[name='time_format_custom']").focus(function(){
    43             $("#time_format_custom_radio").attr("checked", "checked");
     43            $( '#time_format_custom_radio' ).prop( 'checked', true );
    4444        });
    4545        $("input[name='date_format_custom'], input[name='time_format_custom']").change( function() {
Note: See TracChangeset for help on using the changeset viewer.