Commit 4ee1b03c authored by Dave Methvin's avatar Dave Methvin

Remove oldIE submit/change bubble detects.

parent 11e6a660
jQuery.support = (function() { jQuery.support = (function() {
var support, all, a, select, opt, input, fragment, eventName, i, var support, all, a, select, opt, input, fragment,
div = document.createElement("div"); div = document.createElement("div");
// Setup // Setup
...@@ -82,13 +82,10 @@ jQuery.support = (function() { ...@@ -82,13 +82,10 @@ jQuery.support = (function() {
div.cloneNode( true ).click(); div.cloneNode( true ).click();
} }
// Support: IE<9 (lack submit/change bubble), Firefox 17+ (lack focusin event) // Support: Firefox 17+
// Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP), test/csp.php // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP), test/csp.php
for ( i in { submit: true, change: true, focusin: true }) { div.setAttribute( "onfocusin", "t" );
div.setAttribute( eventName = "on" + i, "t" ); support.focusinBubbles = "onfocusin" in window || div.attributes.onfocusin.expando === false;
support[ i + "Bubbles" ] = eventName in window || div.attributes[ eventName ].expando === false;
}
// Run tests that need a body at doc ready // Run tests that need a body at doc ready
jQuery(function() { jQuery(function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment