     if url != null
       divoptions.href = url
 
-    if markrow != null
+    if markrow != null and options.onclickmark?
       divoptions.onclick = options.onclickmark.bind @, markrow
     else if options.onclick?
       divoptions.onclick = options.onclick.bind @, x

        row = @data.getParent row

      makeCrumb = (row, text) =>
        return virtualDom.h 'span', {
          className: 'crumb'
        }, [
          virtualDom.h 'a', {
            onclick: () =>
              @reroot row
              do @save
              do @render
          }, [ text ]
        ]

      crumbNodes = []
      crumbNodes.push(makeCrumb @data.root, (virtualDom.h 'icon', {className: 'fa fa-home'}))

      else
          mark = @data.getMark row

      options = {
        cursors: cursors
        highlights: highlights
        marks: (do @data.getAllMarks)
        mark: mark
      }

      if @mode == MODES.NORMAL or @mode == MODES.INSERT
        options.onclick = (x) =>
          @cursor.set row, x.column
          do @render
      if @mode == MODES.NORMAL
        options.onclickmark = (row) =>
          @rootInto row
          do @save
          do @render
      lineContents = renderLine lineData, options
      [].push.apply results, lineContents

      if results.length == 0
