diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2012-07-24 23:57:00 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2012-07-24 23:57:00 +0400 |
commit | c10a357bb3aa75a0e1252f3bd17aa8a0476400a3 (patch) | |
tree | 3e071c269a0b7009a7d17c65b6e9b40acf0b9bae /docs/assets/js/application.js | |
parent | fa6a131eb654515f690cea5209057af62e83505a (diff) |
don't bite so hard
Diffstat (limited to 'docs/assets/js/application.js')
-rw-r--r-- | docs/assets/js/application.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/docs/assets/js/application.js b/docs/assets/js/application.js index e096f08665..9f1fa704f3 100644 --- a/docs/assets/js/application.js +++ b/docs/assets/js/application.js @@ -6,17 +6,6 @@ $(function(){ - // fancy fade jumbotron - - var $jumbotron = $('.jumbotron') - , $jcontainer = $('.jumbotron .container') - , opacRatio = ($jumbotron.height() / 200 ) * 2 - - $(window).on('scroll', function () { - var diff = 100 - ($(window).scrollTop() / opacRatio) - $jcontainer.css({ opacity: (diff > 0 ? Math.min(diff, 100) : 0) / 100 }) - }) - // Disable certain links in docs $('section [href^=#]').click(function (e) { e.preventDefault() |