Assigning focus to the selected topic
TNL-2620
This commit is contained in:
@@ -162,6 +162,7 @@ if Backbone?
|
||||
)
|
||||
@trigger "thread:responses:rendered"
|
||||
@loadedResponses = true
|
||||
@$el.find('.discussion-article[data-id="' + @model.id + '"]').focus() # Sends focus to the discussion once the thread loads
|
||||
error: (xhr, textStatus) =>
|
||||
return if textStatus == 'abort'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user