use scrollTop solution for both chrome & firefox

This commit is contained in:
Dmitriy Zaporozhets 2013-03-19 15:04:58 +02:00
parent 063c4a069c
commit e6c2080214

View file

@ -45,7 +45,7 @@
scrollDown: -> scrollDown: ->
notes = $('ul.notes') notes = $('ul.notes')
$('body').scrollTop(notes.height()) $('body, html').scrollTop(notes.height())
initForm: -> initForm: ->
form = $('.wall-note-form') form = $('.wall-note-form')