From 1d1fb4caefbe6f88181db6f82c19d979fb7aa69a Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 8 Sep 2015 17:23:41 +0200 Subject: [PATCH] :art: --- src/lines-tile-component.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lines-tile-component.coffee b/src/lines-tile-component.coffee index be15b9b67..e0ad2f10f 100644 --- a/src/lines-tile-component.coffee +++ b/src/lines-tile-component.coffee @@ -113,8 +113,8 @@ class LinesTileComponent while oldLineNode = oldLineNodes.shift() break if @screenRowForNode(newLineNode) < @screenRowForNode(oldLineNode) - lineId = @lineIdsByScreenRow[newLineNode.dataset.screenRow] - @lineNodesByLineId[lineId] = newLineNode + id = @lineIdsByScreenRow[newLineNode.dataset.screenRow] + @lineNodesByLineId[id] = newLineNode if oldLineNode? @domNode.insertBefore(newLineNode, oldLineNode) else