aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2011-04-08 18:24:25 +0200
committerjaubourg <j@ubourg.net>2011-04-08 18:24:25 +0200
commitf182b7b92117f8e353a1f712569d3d2642100862 (patch)
tree7f154c07e7701d2374d4a3d9858fe2c629ed9f91
parent2594a935de347088cecac987c3868e9bb5f35194 (diff)
downloadjquery-f182b7b92117f8e353a1f712569d3d2642100862.tar.gz
jquery-f182b7b92117f8e353a1f712569d3d2642100862.zip
Adds a default falsy value for focusinBubbles + minor style consistency regarding test expression in support map initialization.
-rw-r--r--src/support.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/support.js b/src/support.js
index f039c7e87..50ae6dfd7 100644
--- a/src/support.js
+++ b/src/support.js
@@ -66,7 +66,7 @@ jQuery.support = (function() {
// Make sure that if no value is specified for a checkbox
// that it defaults to "on".
// (WebKit defaults to "" instead)
- checkOn: input.value === "on",
+ checkOn: ( input.value === "on" ),
// Make sure that a selected-by-default option has a working selected property.
// (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
@@ -75,6 +75,7 @@ jQuery.support = (function() {
// Will be defined later
submitBubbles: true,
changeBubbles: true,
+ focusinBubbles: false,
deleteExpando: true,
noCloneEvent: true,
inlineBlockNeedsLayout: false,