diff options
-rw-r--r-- | ui/widgets/tabs.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/widgets/tabs.js b/ui/widgets/tabs.js index a35386541..a0a967c56 100644 --- a/ui/widgets/tabs.js +++ b/ui/widgets/tabs.js @@ -733,7 +733,8 @@ $.widget( "ui.tabs", { // meta-function to give users option to provide a href string instead of a numerical index. if ( typeof index === "string" ) { - index = this.anchors.index( this.anchors.filter( "[href$='" + $.ui.escapeSelector( index ) + "']" ) ); + index = this.anchors.index( this.anchors.filter( "[href$='" + + $.ui.escapeSelector( index ) + "']" ) ); } return index; |