     @_userCanModerateDiv = document.getElementsByClassName('js-forum__topic-user-can-moderate')
     @_postsCounter = document.getElementsByClassName('js-forum__posts-counter')
     @_postsProgress = document.getElementsByClassName('js-forum__posts-progress')
-    @_showDeletedToggle = document.getElementsByClassName('js-forum-topic-moderate--toggle-deleted')
     @posts = document.getElementsByClassName('js-forum-post')
     @loadMoreLinks = document.getElementsByClassName('js-forum-posts-show-more')
 

  postUrlN: (postN) ->
    url = "#{document.location.pathname}?n=#{postN}"

    if not @showDeleted()
      url += "&with_deleted=0"

    url

    parseInt @_totalPostsDiv[0].dataset.total, 10


  # null if option not available (not moderator), false/true accordingly otherwise
  showDeleted: =>
    toggle = document.querySelector('.js-forum-topic-moderate--toggle-deleted')

    return unless toggle?

    toggle.dataset.showDeleted == '1'


  setTotalPosts: (n) =>
