Skip to content
Permalink
Browse files
Selector: Use jQuery reference not Sizzle
  • Loading branch information
markelog committed May 29, 2014
1 parent efc4f8d commit 3b9057a18de31b838bd0dd25ea466993b62f9dd9
Showing 1 changed file with 6 additions and 2 deletions.
@@ -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;

0 comments on commit 3b9057a

Please sign in to comment.