mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-30 08:37:59 +01:00
13 lines
338 B
CoffeeScript
13 lines
338 B
CoffeeScript
|
window.handleResize = () ->
|
||
|
windowHeight = $(window).height()
|
||
|
$siteBody = $ '.site-body'
|
||
|
$siteBody.height windowHeight - $('header').height() - 1
|
||
|
|
||
|
$('.strech-to-bottom').each () ->
|
||
|
$this = $ this
|
||
|
$this.height windowHeight - $this.offset().top
|
||
|
|
||
|
window.handleResize()
|
||
|
$(window).resize window.handleResize
|
||
|
|
||
|
$('.site-content').empty()
|