mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Selector: Use jQuery reference not Sizzle
This commit is contained in:
parent
efc4f8d781
commit
3b9057a18d
@ -486,13 +486,17 @@ asyncTest( "Iframe dispatch should not affect jQuery (#13936)", 1, function() {
|
||||
|
||||
try {
|
||||
iframeDoc = this.contentDocument || this.contentWindow.document;
|
||||
form = Sizzle( "#navigate", iframeDoc )[ 0 ];
|
||||
form = jQuery( "#navigate", iframeDoc )[ 0 ];
|
||||
} catch ( e ) {
|
||||
thrown = e;
|
||||
}
|
||||
|
||||
if ( loaded ) {
|
||||
strictEqual( thrown, false, "No error thrown from post-reload Sizzle call" );
|
||||
strictEqual( thrown, false, "No error thrown from post-reload jQuery call" );
|
||||
|
||||
// clean up
|
||||
jQuery( iframe ).off();
|
||||
|
||||
start();
|
||||
} else {
|
||||
loaded = true;
|
||||
|
Loading…
Reference in New Issue
Block a user