aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2012-07-12 14:54:43 -0400
committerDave Methvin <dave.methvin@gmail.com>2012-07-12 15:10:58 -0400
commite866893fd29b0328ebc282cf0ba716e6f87384c3 (patch)
tree8c56f9aaed2fb29e5fcf2747c937acb62ac79e72
parent2d09e9a325c730c31ada7b68fa46e345ac5535e0 (diff)
downloadjquery-e866893fd29b0328ebc282cf0ba716e6f87384c3.tar.gz
jquery-e866893fd29b0328ebc282cf0ba716e6f87384c3.zip
Fix #11397. Shush Firefox warning by re-breaking #6932 for BB 4.7.
At this point BlackBerry 4.7 (and related ancient browsers) should be scarce (released circa 2008) so #6932 will be closed wontfix for this edge case.
-rw-r--r--src/attributes.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/attributes.js b/src/attributes.js
index c3890c459..d8f6b04dd 100644
--- a/src/attributes.js
+++ b/src/attributes.js
@@ -215,14 +215,6 @@ 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,