mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Tabs: Prevent opening a tab while panels are being animated. Fixes #4771 - Tabs: Occassionally displays multiple tabs when clicked with rotate control using opacity toggle fx.
This commit is contained in:
parent
0c82f7ec2c
commit
8f22b2b6b3
1
ui/jquery.ui.tabs.js
vendored
1
ui/jquery.ui.tabs.js
vendored
@ -346,6 +346,7 @@ $.widget( "ui.tabs", {
|
||||
if ( ( $li.hasClass( "ui-tabs-selected" ) && !o.collapsible) ||
|
||||
$li.hasClass( "ui-state-disabled" ) ||
|
||||
$li.hasClass( "ui-state-processing" ) ||
|
||||
self.panels.filter( ":animated" ).length ||
|
||||
self._trigger( "select", null, self._ui( this, $show[ 0 ] ) ) === false ) {
|
||||
this.blur();
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user