Commit 369add5f authored by Oleg Gaidarenko's avatar Oleg Gaidarenko

Selector: Use jQuery reference not Sizzle

(Cherry-picked from 3b9057a1)
parent 9e5f49fd
......@@ -485,13 +485,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;
......
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