aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets/tabs.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/widgets/tabs.js')
-rw-r--r--ui/widgets/tabs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/widgets/tabs.js b/ui/widgets/tabs.js
index e191dfbb4..72b868e4f 100644
--- a/ui/widgets/tabs.js
+++ b/ui/widgets/tabs.js
@@ -722,7 +722,7 @@ $.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$='" +
- $.escapeSelector( index ) + "']" ) );
+ CSS.escape( index ) + "']" ) );
}
return index;