     endLayout: =>
       @textSegmentsDone = true
 
-      @_enableHighligts()
+      @_enableHighlights()
 
     appendText: (geom) =>
       segment = PDFJS.pdfTextSegment @textContent, textContentIndex, geom


    @$displayPage.append divs

  _enableHighligts: =>
    return unless @textSegmentsDone and @imageLayerDone

    # Highlights already enabled for this page

    endLayout: =>
      @imageLayerDone = true

      @_enableHighlights()

    appendImage: (geom) =>
      @imageSegments.push PDFJS.pdfImageSegment geom
