Skip to content

Commit

Permalink
Adjusted the logic around handling un-quoted values again to work in …
Browse files Browse the repository at this point in the history
…both Opera and IE.
  • Loading branch information
jeresig committed Jan 17, 2011
1 parent bb416c3 commit f9491d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sizzle.js
Expand Up @@ -534,7 +534,7 @@ var Expr = Sizzle.selectors = {
}

// Handle if an un-quoted value was used
match[4] = match[5] != null ? match[5] : match[4];
match[4] = match[4] || match[5];

if ( match[2] === "~=" ) {
match[4] = " " + match[4] + " ";
Expand Down

0 comments on commit f9491d4

Please sign in to comment.