We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f2e6cc commit bf78300Copy full SHA for bf78300
app/assets/javascripts/backbone/helpers/channels.js.coffee
@@ -18,13 +18,11 @@ class Kandan.Helpers.Channels
18
19
@scrollToLatestMessage: (channelId)->
20
console.log("scrolling to last message");
21
- $('document').scrollTop($('document').height()+900)
22
- #@channel_activities_el(channelId).parent().scrollTop(100000)
+ $(document).scrollTop($(document).height()+9000)
23
24
@currentScrollPosition: (channelId)->
25
console.log("current scroll position");
26
- $('document').scrollTop()
27
- #@channel_activities_el(channelId).parent().scrollTop()
+ $(document).scrollTop()
28
29
@channel_activities_el: (channelId)->
30
$("#channel-activities-#{channelId}")
0 commit comments