]> source.dussan.org Git - jquery.git/commitdiff
Adds a default falsy value for focusinBubbles + minor style consistency regarding...
authorjaubourg <j@ubourg.net>
Fri, 8 Apr 2011 16:24:25 +0000 (18:24 +0200)
committerjaubourg <j@ubourg.net>
Fri, 8 Apr 2011 16:24:25 +0000 (18:24 +0200)
src/support.js

index f039c7e874439f83619e82b9ab1539671e78d1fd..50ae6dfd78ee47bd948185659ea72e74d571adc0 100644 (file)
@@ -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,