diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-03-22 13:17:17 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-03-22 13:17:17 -0400 |
commit | adbc2733bbd4d4c117dd2e0f31d5156e2913bfd1 (patch) | |
tree | dd19b161a7056ea087605ee83db4556224bbd895 | |
parent | 9bb9141f299ce1b7ddcffc39063a9e6581e19ba6 (diff) | |
download | jquery-ui-adbc2733bbd4d4c117dd2e0f31d5156e2913bfd1.tar.gz jquery-ui-adbc2733bbd4d4c117dd2e0f31d5156e2913bfd1.zip |
Tabs: Wrap attribute value in quotes when querying. Fixes #8207 - Tabs: Error with href selector.
-rw-r--r-- | ui/jquery.ui.tabs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.tabs.js b/ui/jquery.ui.tabs.js index ba48c3770..c9300e69b 100644 --- a/ui/jquery.ui.tabs.js +++ b/ui/jquery.ui.tabs.js @@ -434,7 +434,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; |