     endLayout: =>
       @imageLayerDone = true
 
-      @_enableHighligts()
+      @_enableHighlights()
 
     appendImage: (geom) =>
       @imageSegments.push PDFJS.pdfImageSegment geom

    endLayout: =>
      @textSegmentsDone = true

      @_enableHighligts()

    appendText: (geom) =>
      segment = PDFJS.pdfTextSegment @textContent, textContentIndex, geom


    @$displayPage.append divs

  _enableHighlights: =>
    return unless @textSegmentsDone and @imageLayerDone

    # Highlights already enabled for this page
