mirror of
https://gitlab.com/Oreolek/salet.git
synced 2024-06-27 20:35:08 +03:00
Scroll fix
This commit is contained in:
parent
ef1ce16aeb
commit
b910cf8a66
|
@ -71,11 +71,11 @@ class SaletView
|
|||
|
||||
# Scrolls the bottom of the screen to the specified point
|
||||
scrollBottomTo: (value) ->
|
||||
scrollTopTo(value - $(window).height())
|
||||
@scrollTopTo(value - $(window).height())
|
||||
|
||||
# Scrolls all the way to the bottom of the screen
|
||||
scrollToBottom: () ->
|
||||
scrollTopTo($('html').height() - $(window).height());
|
||||
@scrollTopTo($('html').height() - $(window).height());
|
||||
|
||||
###
|
||||
Removes all content from the page, clearing the main content area.
|
||||
|
|
Loading…
Reference in a new issue