From: Jacob Thornton Date: Tue, 24 Jul 2012 19:57:00 +0000 (-0700) Subject: don't bite so hard X-Git-Tag: v2.1.0~2^2~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c10a357bb3aa75a0e1252f3bd17aa8a0476400a3;p=thirdparty%2Fbootstrap.git don't bite so hard --- 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()