From 7b0b348419c85841671459b4d7153afc88d1fa83 Mon Sep 17 00:00:00 2001 From: jeresig Date: Tue, 22 Dec 2009 15:06:27 -0500 Subject: [PATCH] The option isn't, necessarily, hidden when this occurs. --- src/attributes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/attributes.js b/src/attributes.js index 30b3205..b3a49f5 100644 --- a/src/attributes.js +++ b/src/attributes.js @@ -263,7 +263,7 @@ jQuery.extend({ // These attributes require special treatment var special = rspecialurl.test( name ), parent = elem.parentNode; - // Safari mis-reports the default selected property of a hidden option + // Safari mis-reports the default selected property of an option // Accessing the parent's selectedIndex property fixes it if ( name === "selected" && parent ) { parent.selectedIndex; -- 1.7.10.4