diff --git a/src/lines-component.coffee b/src/lines-component.coffee index 4908221f4..52c81ba06 100644 --- a/src/lines-component.coffee +++ b/src/lines-component.coffee @@ -212,7 +212,7 @@ LinesComponent = React.createClass # Find a common prefix for scope, i in desiredScopes - break unless scopeStack[i]?.scope is desiredScopes[i] + break unless scopeStack[i] is desiredScopes[i] # Pop scopes until we're at the common prefx until scopeStack.length is i