Commit 7b0b3484 authored by jeresig's avatar jeresig

The option isn't, necessarily, hidden when this occurs.

parent 4729f4d4
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment