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.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/widgets/tabs.js b/ui/widgets/tabs.js
index 0eb69ebe1..7a53767dd 100644
--- a/ui/widgets/tabs.js
+++ b/ui/widgets/tabs.js
@@ -22,7 +22,6 @@
// AMD. Register as an anonymous module.
define( [
"jquery",
- "../escape-selector",
"../keycode",
"../safe-active-element",
"../unique-id",
@@ -733,7 +732,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$='" +
- $.ui.escapeSelector( index ) + "']" ) );
+ $.escapeSelector( index ) + "']" ) );
}
return index;