]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remove commented out docs js
authorMark Otto <otto@github.com>
Wed, 9 Jul 2014 09:44:11 +0000 (02:44 -0700)
committerMark Otto <otto@github.com>
Wed, 9 Jul 2014 09:44:11 +0000 (02:44 -0700)
docs/assets/js/src/application.js

index 743617b4e418a0047fc72a8e8b7fec20485fb4bd..c4ae6c9bf76b0c60209a33ed01285b700891527a 100644 (file)
       e.preventDefault()
     })
 
-    // Sidenav affixing
-    // setTimeout(function () {
-    //   var $sideBar = $('.bs-docs-sidebar')
-
-    //   $sideBar.affix({
-    //     offset: {
-    //       top: function () {
-    //         var offsetTop      = $sideBar.offset().top
-    //         var sideBarMargin  = parseInt($sideBar.children(0).css('margin-top'), 10)
-    //         var navOuterHeight = $('.bs-docs-nav').height()
-
-    //         return (this.top = offsetTop - navOuterHeight - sideBarMargin)
-    //       },
-    //       bottom: function () {
-    //         return (this.bottom = $('.bs-docs-footer').outerHeight(true))
-    //       }
-    //     }
-    //   })
-    // }, 100)
-
-    // setTimeout(function () {
-    //   $('.bs-top').affix()
-    // }, 100)
-
     // theme toggler
     (function () {
       var stylesheetLink = $('#bs-theme-stylesheet')