Skip to content
Permalink
Browse files

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

… 4.7."

This reverts commit e866893.

Failures in IE6 when this is removed, unfortunately.
  • Loading branch information
dmethvin committed Jul 12, 2012
1 parent e866893 commit c29660c5936b76787c4a864d8188b325bc81a81f
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/attributes.js
@@ -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,

0 comments on commit c29660c

Please sign in to comment.
You can’t perform that action at this time.