diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-11-02 09:35:20 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-11-02 09:35:20 -0400 |
commit | f76873c2d266f6d46b920877bc2c13dc758f1ff7 (patch) | |
tree | c6266c31f77a80fbf744264c7f2a16914012a744 | |
parent | 253b792887bc015088a0e4ecda7df971755bb782 (diff) | |
download | jquery-ui-f76873c2d266f6d46b920877bc2c13dc758f1ff7.tar.gz jquery-ui-f76873c2d266f6d46b920877bc2c13dc758f1ff7.zip |
Tabs test: Increase delay in load test.
-rw-r--r-- | tests/unit/tabs/tabs_methods.js | 4 | ||||
-rw-r--r-- | ui/jquery.ui.tabs.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/tabs/tabs_methods.js b/tests/unit/tabs/tabs_methods.js index ec21e2de7..b62f7bb3a 100644 --- a/tests/unit/tabs/tabs_methods.js +++ b/tests/unit/tabs/tabs_methods.js @@ -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 ); diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index 4127ddf84..5eaab1aae 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -561,7 +561,7 @@ $.widget( "ui.tabs", { if ( jqXHR === self.xhr ) { delete self.xhr; } - }); + }, 1 ); }); } |