Make WordPress Core

Changeset 15959


Ignore:
Timestamp:
10/25/2010 08:27:49 AM (14 years ago)
Author:
nacin
Message:

Fix inverted logic. props duck_. fixes #15205.

File:
1 edited

Legend:

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

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