mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tabs test: Increase delay in load test.
This commit is contained in:
parent
253b792887
commit
f76873c2d2
@ -180,7 +180,7 @@ asyncTest( "load", function() {
|
||||
strictEqual( uiPanel[ 0 ], panel[ 0 ], "panel" );
|
||||
equals( uiPanel.find( "p" ).length, 1, "panel html" );
|
||||
tabs_state( element, 1, 0, 0, 0, 0 );
|
||||
setTimeout( tabsload1, 1 );
|
||||
setTimeout( tabsload1, 100 );
|
||||
});
|
||||
element.tabs( "load", 3 );
|
||||
tabs_state( element, 1, 0, 0, 0, 0 );
|
||||
@ -192,7 +192,7 @@ asyncTest( "load", function() {
|
||||
});
|
||||
element.one( "tabsload", function() {
|
||||
ok( true, "tabsload invoked" );
|
||||
setTimeout( tabsload2, 1 );
|
||||
setTimeout( tabsload2, 100 );
|
||||
});
|
||||
element.tabs( "option", "active", 3 );
|
||||
tabs_state( element, 0, 0, 0, 1, 0 );
|
||||
|
2
ui/jquery.ui.tabs.js
vendored
2
ui/jquery.ui.tabs.js
vendored
@ -561,7 +561,7 @@ $.widget( "ui.tabs", {
|
||||
if ( jqXHR === self.xhr ) {
|
||||
delete self.xhr;
|
||||
}
|
||||
});
|
||||
}, 1 );
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user