Tabs: Fix line length violations

Ref gh-1690
This commit is contained in:
Alexander Schmitz 2016-03-30 18:59:18 -04:00 committed by Scott González
parent 3bfee654bf
commit f42a759b32

View File

@ -733,7 +733,8 @@ $.widget( "ui.tabs", {
// meta-function to give users option to provide a href string instead of a numerical index. // meta-function to give users option to provide a href string instead of a numerical index.
if ( typeof index === "string" ) { 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; return index;