From: jeresig Date: Tue, 22 Dec 2009 20:06:27 +0000 (-0500) Subject: The option isn't, necessarily, hidden when this occurs. X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=7b0b348419c85841671459b4d7153afc88d1fa83;hp=4729f4d44326fd302c63af8f3324b6c4bac54084;p=jquery.git The option isn't, necessarily, hidden when this occurs. --- 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;