Commit c29660c5 authored by Dave Methvin's avatar Dave Methvin

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

This reverts commit e866893f.

Failures in IE6 when this is removed, unfortunately.
parent e866893f
...@@ -215,6 +215,14 @@ jQuery.fn.extend({ ...@@ -215,6 +215,14 @@ jQuery.fn.extend({
jQuery.extend({ jQuery.extend({
valHooks: { 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: { select: {
get: function( elem ) { get: function( elem ) {
var value, i, max, option, var value, i, max, option,
......
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