From 6bcac04c29819c4a9784632b76fbbf827381cd6a Mon Sep 17 00:00:00 2001 From: nacin Date: Mon, 25 Oct 2010 08:27:49 +0000 Subject: [PATCH] Fix inverted logic. props duck_. fixes #15205. git-svn-id: http://svn.automattic.com/wordpress/trunk@15959 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 3b036ba1f..c8adc8dea 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);