       @loadCommits($target.attr('href'))
     else if action == 'diffs'
       @loadDiff($target.attr('href'))
+      @stickyDiffHeaders()
 
     @setCurrentAction(action)
 

      url: "#{source}.json"
      success: (data) =>
        document.getElementById('diffs').innerHTML = data.html
        $('.diff-header').trigger('sticky_kit:recalc')
        @diffsLoaded = true

  toggleLoading: ->
    $('.mr-loading-status .loading').toggle()

  _get: (options) ->
    defaults = {

    @_location = location

    switch @opts.action
      when 'commits'
        @commitsLoaded = true
      when 'diffs'
        @diffsLoaded = true

    @bindEvents()
    @activateTab(@opts.action)
