Skip to content

Commit e2bbe04

Browse files
committed
Tabs: Change array join to string.
1 parent eda0526 commit e2bbe04

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

ui/jquery.ui.tabs.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -702,16 +702,8 @@ $.widget( "ui.tabs", {
702702
$( this ).remove();
703703
} else {
704704
$( this )
705-
.removeClass([
706-
"ui-state-default",
707-
"ui-corner-top",
708-
"ui-tabs-active",
709-
"ui-state-active",
710-
"ui-state-disabled",
711-
"ui-tabs-panel",
712-
"ui-widget-content",
713-
"ui-corner-bottom"
714-
].join( " " ) )
705+
.removeClass( "ui-state-default ui-state-active ui-state-disabled " +
706+
"ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel" )
715707
.removeAttr( "tabIndex" )
716708
.removeAttr( "aria-live" )
717709
.removeAttr( "aria-busy" )

0 commit comments

Comments
 (0)