WordPress.org

Make WordPress Core

Changeset 17923


Ignore:
Timestamp:
05/14/2011 12:43:58 AM (11 years ago)
Author:
azaozz
Message:

FIx static front page selector in Settings-Writing, props JDTrower duck_, fixes #17421

File:
1 edited

Legend:

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

    r17748 r17923  
    3131            selects = section.find('select'),
    3232            check_disabled = function(){
    33                 selects.attr('disabled', staticPage.is(':checked') ? '' : 'disabled');
     33                selects.prop( 'disabled', ! staticPage.prop('checked') );
    3434            };
    3535        check_disabled();
Note: See TracChangeset for help on using the changeset viewer.