From d68060204a621a493351e516be5f106d78d5d4f1 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 25 Oct 2010 08:27:49 +0000 Subject: [PATCH] Fix inverted logic. props duck_. fixes #15205. git-svn-id: https://develop.svn.wordpress.org/trunk@15959 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/options-reading.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index 3b036ba1f5..c8adc8deab 100644 --- a/wp-admin/options-reading.php +++ b/wp-admin/options-reading.php @@ -30,7 +30,7 @@ function add_js() { staticPage = section.find('input:radio[value="page"]'), selects = section.find('select'), check_disabled = function(){ - selects.attr('disabled', staticPage.is(':checked') ? 'disabled' : ''); + selects.attr('disabled', staticPage.is(':checked') ? '' : 'disabled'); }; check_disabled(); section.find('input:radio').change(check_disabled);