Skip to content

Commit

Permalink
fixed the autoscroll problem
Browse files Browse the repository at this point in the history
  • Loading branch information
SpencerCooley committed Feb 11, 2013
1 parent 949d504 commit 8738ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/backbone/views/chatbox.js.coffee
Expand Up @@ -37,7 +37,7 @@ class Kandan.Views.Chatbox extends Backbone.View
)

$("#activity-c#{model.cid}").attr("id", "activity-#{model.get('id')}")
$scrollbox = $(event.target).parent().find(".paginated-activities")
$scrollbox = $('.channels-pane')
$scrollbox.prop("scrollTop", $scrollbox.prop('scrollHeight'))
})

Expand Down

0 comments on commit 8738ad9

Please sign in to comment.