aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes/val.js
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2016-03-23 14:16:38 +0100
committerMichał Gołębiowski <m.goleb@gmail.com>2016-03-30 11:21:36 +0200
commit622db29d9c1aed1e51586db72861a1aab4d7606f (patch)
treeab7cef568f4300d1b8038438d474c5944e081e5b /src/attributes/val.js
parent44cb97e0cfc8d3e62bef7c621bfeba6fe4f65d7c (diff)
downloadjquery-622db29d9c1aed1e51586db72861a1aab4d7606f.tar.gz
jquery-622db29d9c1aed1e51586db72861a1aab4d7606f.zip
Docs:Tests: Remove legacy code & add support comments where needed
This commits backports some changes done in the patch to the then-existing compat branch that removed support for old browsers and added some support comments. Refs 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278
Diffstat (limited to 'src/attributes/val.js')
-rw-r--r--src/attributes/val.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/attributes/val.js b/src/attributes/val.js
index a8a2e12fb..1338fcdf6 100644
--- a/src/attributes/val.js
+++ b/src/attributes/val.js
@@ -108,6 +108,7 @@ jQuery.extend( {
for ( ; i < max; i++ ) {
option = options[ i ];
+ // Support: IE <=9 only
// IE8-9 doesn't update selected after form reset (#2551)
if ( ( option.selected || i === index ) &&