Skip to content

Commit adbc273

Browse files
committed
Tabs: Wrap attribute value in quotes when querying. Fixes #8207 - Tabs: Error with href selector.
1 parent 9bb9141 commit adbc273

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.tabs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ $.widget( "ui.tabs", {
434434
// meta-function to give users option to provide a href string instead of a numerical index.
435435
// also sanitizes numerical indexes to valid values.
436436
if ( typeof index == "string" ) {
437-
index = this.anchors.index( this.anchors.filter( "[href$=" + index + "]" ) );
437+
index = this.anchors.index( this.anchors.filter( "[href$='" + index + "']" ) );
438438
}
439439

440440
return index;

0 commit comments

Comments
 (0)