   postUrlN: (postN) ->
     url = "#{document.location.pathname}?n=#{postN}"
 
-    if not @showDeleted()
+    if @showDeleted() == false
       url += "&with_deleted=0"
 
     url

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


  showDeleted: =>
    @_showDeletedToggle[0]?.dataset.showDeleted == "1"


  setTotalPosts: (n) =>

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

