     @renderDiffs()
 
   renderDiffs: =>
-    lines = @minimapView.find('.lines')[0].childNodes[0].childNodes
-
     @removeDiffs()
 
     diffs = @getDiffs()

        for row in [newStart...newStart + newLines]
          start = displayBuffer.screenRowForBufferRow(row)
          end = displayBuffer.lastScreenRowForBufferRow(row)
          @decorateLines(lines, start, end, 'added')

      else if newLines is 0 and oldLines > 0
        start = displayBuffer.screenRowForBufferRow(newStart)

      @scheduleUpdate()

    @subscribeToBuffer()

    @updateDiffs()

