Skip to content

Commit

Permalink
Added js to spread the height for dark area.
Browse files Browse the repository at this point in the history
  • Loading branch information
Giang NGUYEN committed Jun 7, 2012
1 parent 46de808 commit f8e7e64
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/assets/javascripts/homes.js.coffee
@@ -1,3 +1,8 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/

jQuery ->
winHeight = $(window).height()

$('#home').height(winHeight - 190)

0 comments on commit f8e7e64

Please sign in to comment.