diff --git a/csslint/csslint-worker.js b/csslint/csslint-worker.js index 31b24a10..75b5df44 100644 --- a/csslint/csslint-worker.js +++ b/csslint/csslint-worker.js @@ -2288,12 +2288,13 @@ Parser.prototype = function() { value += tokenStream.token().value; value += this._readWhitespace(); - if (tokenStream.match([Tokens.IDENT]) - && tokenStream.token().value.toLowerCase() == 'i') { - value += tokenStream.token().value; - value += this._readWhitespace(); - } else { - tokenStream.unget(); + if (tokenStream.match([Tokens.IDENT])) { + if (tokenStream.token().value.toLowerCase() == 'i') { + value += tokenStream.token().value; + value += this._readWhitespace(); + } else { + tokenStream.unget(); + } } }