mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Oops, the sourceIndex of the documentElement in IE is 1, not 0.
This commit is contained in:
parent
e16c7fe0f8
commit
7421f34284
@ -671,7 +671,7 @@ if ( document.documentElement.compareDocumentPosition ) {
|
||||
}
|
||||
return ret;
|
||||
};
|
||||
} else if ( document.documentElement.sourceIndex === 0 ) {
|
||||
} else if ( document.documentElement.sourceIndex === 1 ) {
|
||||
sortOrder = function( a, b ) {
|
||||
var ret = a.sourceIndex - b.sourceIndex;
|
||||
if ( ret === 0 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user