aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2011-09-11 23:36:59 -0700
committerJacob Thornton <[email protected]>2011-09-11 23:36:59 -0700
commitfcf816a23644e9d077986a8c35e1487becb6ddc0 (patch)
tree3923bcc1b2478a37fe2076b0612c75310e32677e /docs
parent02d668fd2e31b01e330400738bf2fa7bcbfaa822 (diff)
downloadbootstrap-fcf816a23644e9d077986a8c35e1487becb6ddc0.tar.xz
bootstrap-fcf816a23644e9d077986a8c35e1487becb6ddc0.zip
index to use data attr for scrollspy initilizing
Diffstat (limited to 'docs')
-rw-r--r--docs/assets/js/application.js6
-rw-r--r--docs/index.html2
-rw-r--r--docs/javascript.html2
3 files changed, 2 insertions, 8 deletions
diff --git a/docs/assets/js/application.js b/docs/assets/js/application.js
index 614b0e345..00fd56694 100644
--- a/docs/assets/js/application.js
+++ b/docs/assets/js/application.js
@@ -1,11 +1,5 @@
$(document).ready(function(){
- // Scrollspy
- // =========
-
- $('body > .topbar').scrollSpy()
-
-
// table sort example
// ==================
diff --git a/docs/index.html b/docs/index.html
index b97d5914f..dee3dc635 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -37,7 +37,7 @@
<!-- Topbar
================================================== -->
- <div class="topbar">
+ <div class="topbar" data-scrollspy="pls" >
<div class="topbar-inner">
<div class="container">
<a class="brand" href="#">Bootstrap</a>
diff --git a/docs/javascript.html b/docs/javascript.html
index 468085108..f08508659 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -39,7 +39,7 @@
<!-- Topbar
================================================== -->
- <div class="topbar" data-scrollspy="pls">
+ <div class="topbar" data-scrollspy="pls" >
<div class="fill">
<div class="container">
<h3><a href="#">Bootstrap JS</a></h3>