Revert "Fix #11397. Shush Firefox warning by re-breaking #6932 for BB 4.7."

This reverts commit e866893fd2.

Failures in IE6 when this is removed, unfortunately.
This commit is contained in:
Dave Methvin 2012-07-12 15:28:58 -04:00
parent e866893fd2
commit c29660c593

View File

@ -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,