     @setState hoveredBeatmapId: hoveredBeatmapId
 
   toggleFavorite: =>
-    $.ajax
+    @favoriteXhr = $.ajax
       url: laroute.route('beatmapsets.update-favorite', beatmapset: @props.beatmapset.id)
       method: 'post'
       dataType: 'json'

      playmode: @state.currentPlaymode

  setCurrentScoreboard: (_e, {scoreboardType = @state.currentScoreboardType, enabledMod = null, forceReload = false, resetMods = false}) =>
    if @xhr?
      @xhr.abort()

    @setState
      currentScoreboardType: scoreboardType

    $.publish 'beatmapset:scoreboard:loading', true
    @setState loading: true

    @scoreboardXhr = $.ajax (laroute.route 'beatmaps.scores', beatmap: @state.currentBeatmapId),
      method: 'GET'
      dataType: 'JSON'
      data:
