Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tabs: Wrap attribute value in quotes when querying. Fixes #8207 - Tab…

…s: Error with href selector.

(cherry picked from commit adbc273)
  • Loading branch information...
commit 090ce4369d12751f2e55e62f6cc7f7fbc5dc6f2a 1 parent c21aa07
@scottgonzalez scottgonzalez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ui/jquery.ui.tabs.js
View
2  ui/jquery.ui.tabs.js
@@ -427,7 +427,7 @@ $.widget( "ui.tabs", {
// meta-function to give users option to provide a href string instead of a numerical index.
// also sanitizes numerical indexes to valid values.
if ( typeof index == "string" ) {
- index = this.anchors.index( this.anchors.filter( "[href$=" + index + "]" ) );
+ index = this.anchors.index( this.anchors.filter( "[href$='" + index + "']" ) );
}
return index;
Please sign in to comment.
Something went wrong with that request. Please try again.