]> source.dussan.org Git - jquery-ui.git/commitdiff
Tabs: Change array join to string.
authorScott González <scott.gonzalez@gmail.com>
Fri, 15 Jun 2012 01:22:36 +0000 (21:22 -0400)
committerScott González <scott.gonzalez@gmail.com>
Fri, 15 Jun 2012 01:22:36 +0000 (21:22 -0400)
ui/jquery.ui.tabs.js

index 9edaaf17be00ec188bf5c15b29a03d5d69e4c000..980ecfe897092b5e2ccf8db9a5b5ee39a233d191 100644 (file)
@@ -702,16 +702,8 @@ $.widget( "ui.tabs", {
                                $( this ).remove();
                        } else {
                                $( this )
-                                       .removeClass([
-                                               "ui-state-default",
-                                               "ui-corner-top",
-                                               "ui-tabs-active",
-                                               "ui-state-active",
-                                               "ui-state-disabled",
-                                               "ui-tabs-panel",
-                                               "ui-widget-content",
-                                               "ui-corner-bottom"
-                                       ].join( " " ) )
+                                       .removeClass( "ui-state-default ui-state-active ui-state-disabled " +
+                                               "ui-corner-top ui-corner-bottom ui-widget-content ui-tabs-active ui-tabs-panel" )
                                        .removeAttr( "tabIndex" )
                                        .removeAttr( "aria-live" )
                                        .removeAttr( "aria-busy" )