diff --git a/src/ElementQueries.js b/src/ElementQueries.js index 14f1232..e83f984 100755 --- a/src/ElementQueries.js +++ b/src/ElementQueries.js @@ -330,8 +330,8 @@ * @param {String} css */ function extractQuery(css) { - var match; - var smatch; + var match, smatch, attrs, attrMatch; + css = css.replace(/'/g, '"'); while (null !== (match = regex.exec(css))) { smatch = match[1] + match[3];