aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes/val.js
diff options
context:
space:
mode:
authorOleg <markelog@gmail.com>2014-01-12 23:44:07 +0400
committerOleg <markelog@gmail.com>2014-01-16 04:47:44 +0400
commitfdd78fad19ea3390cd96971cd29430e36378d137 (patch)
tree48fffaafa5e375c3206abfb6366b4f27e2a27c9a /src/attributes/val.js
parent38c122a73a843a0d117d4f962cc94fda6f553086 (diff)
downloadjquery-fdd78fad19ea3390cd96971cd29430e36378d137.tar.gz
jquery-fdd78fad19ea3390cd96971cd29430e36378d137.zip
Attrs: Remove outdated valHook for option element
This hook was relevant for BlackBerry 4.7 which is no longer supported. But this code path now raises error in IE10-11 (#14686) in 1.x-master branch. So to just to be safe, also add test for IE issue to this branch too.
Diffstat (limited to 'src/attributes/val.js')
-rw-r--r--src/attributes/val.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/attributes/val.js b/src/attributes/val.js
index 6fc4a84bb..ca5fa0838 100644
--- a/src/attributes/val.js
+++ b/src/attributes/val.js
@@ -71,14 +71,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, option,