Commit 515ef235 by Tom Giannattasio

fixed post list sort active state bug

parent 1c0978fe
...@@ -130,8 +130,8 @@ if Backbone? ...@@ -130,8 +130,8 @@ if Backbone?
@trigger("thread:removed", thread_id) @trigger("thread:removed", thread_id)
setActiveThread: (thread_id) -> setActiveThread: (thread_id) ->
@$("a[data-id!='#{thread_id}']").removeClass("active") @$(".post-list a[data-id!='#{thread_id}']").removeClass("active")
@$("a[data-id='#{thread_id}']").addClass("active") @$(".post-list a[data-id='#{thread_id}']").addClass("active")
showSearch: -> showSearch: ->
@$(".browse").removeClass('is-dropped') @$(".browse").removeClass('is-dropped')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment