mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
This reverts commit e866893fd2
.
Failures in IE6 when this is removed, unfortunately.
This commit is contained in:
parent
e866893fd2
commit
c29660c593
@ -215,6 +215,14 @@ jQuery.fn.extend({
|
||||
|
||||
jQuery.extend({
|
||||
valHooks: {
|
||||
option: {
|
||||
get: function( elem ) {
|
||||
// attributes.value is undefined in Blackberry 4.7 but
|
||||
// uses .value. See #6932
|
||||
var val = elem.attributes.value;
|
||||
return !val || val.specified ? elem.value : elem.text;
|
||||
}
|
||||
},
|
||||
select: {
|
||||
get: function( elem ) {
|
||||
var value, i, max, option,
|
||||
|
Loading…
Reference in New Issue
Block a user