summaryrefslogtreecommitdiffstats
path: root/js/vendor/jquery/src/attributes/support.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/vendor/jquery/src/attributes/support.js')
-rw-r--r--js/vendor/jquery/src/attributes/support.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/js/vendor/jquery/src/attributes/support.js b/js/vendor/jquery/src/attributes/support.js
index 376b54ad2..5db5c5212 100644
--- a/js/vendor/jquery/src/attributes/support.js
+++ b/js/vendor/jquery/src/attributes/support.js
@@ -9,21 +9,21 @@ define([
input.type = "checkbox";
- // Support: iOS 5.1, Android 4.x, Android 2.3
- // Check the default checkbox/radio value ("" on old WebKit; "on" elsewhere)
+ // Support: iOS<=5.1, Android<=4.2+
+ // Default value for a checkbox should be "on"
support.checkOn = input.value !== "";
- // Must access the parent to make an option select properly
- // Support: IE9, IE10
+ // Support: IE<=11+
+ // Must access selectedIndex to make default options select
support.optSelected = opt.selected;
- // Make sure that the options inside disabled selects aren't marked as disabled
- // (WebKit marks them as disabled)
+ // Support: Android<=2.3
+ // Options inside disabled selects are incorrectly marked as disabled
select.disabled = true;
support.optDisabled = !opt.disabled;
- // Check if an input maintains its value after becoming a radio
- // Support: IE9, IE10
+ // Support: IE<=11+
+ // An input loses its value after becoming a radio
input = document.createElement( "input" );
input.value = "t";
input.type = "radio";