app/assets/javascripts/tramway/landing/application.js.coffee in tramway-landing-1.0 vs app/assets/javascripts/tramway/landing/application.js.coffee in tramway-landing-1.1
- old
+ new
@@ -1,3 +1,8 @@
#= require jquery
#= require jquery_ujs
#= require_tree .
+
+$(document).ready ->
+ $('.header-buttons').click ->
+ anchor = $(this).data('anchor')
+ $(window).scrollTop $(anchor).offset().top