Adds a default falsy value for focusinBubbles + minor style consistency regarding test expression in support map initialization.

This commit is contained in:
jaubourg 2011-04-08 18:24:25 +02:00
parent 2594a935de
commit f182b7b921

View file

@ -66,7 +66,7 @@ jQuery.support = (function() {
// Make sure that if no value is specified for a checkbox // Make sure that if no value is specified for a checkbox
// that it defaults to "on". // that it defaults to "on".
// (WebKit defaults to "" instead) // (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. // 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) // (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 // Will be defined later
submitBubbles: true, submitBubbles: true,
changeBubbles: true, changeBubbles: true,
focusinBubbles: false,
deleteExpando: true, deleteExpando: true,
noCloneEvent: true, noCloneEvent: true,
inlineBlockNeedsLayout: false, inlineBlockNeedsLayout: false,