aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-scrollspy.js
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2011-09-15 23:16:06 -0700
committerJacob Thornton <[email protected]>2011-09-15 23:16:06 -0700
commitd1b594db7a7307efd7de29a2875046166c69a76f (patch)
tree42499e622f9878a475bc5157870c52f044cfb2ab /js/bootstrap-scrollspy.js
parent472632ba51a50457370c55267a736e3efc4c09cc (diff)
downloadbootstrap-d1b594db7a7307efd7de29a2875046166c69a76f.tar.xz
bootstrap-d1b594db7a7307efd7de29a2875046166c69a76f.zip
$(document).ready instead of $(function() {}) for ender support
Diffstat (limited to 'js/bootstrap-scrollspy.js')
-rw-r--r--js/bootstrap-scrollspy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-scrollspy.js b/js/bootstrap-scrollspy.js
index 1e4e9ec7d..7d9bf7b6c 100644
--- a/js/bootstrap-scrollspy.js
+++ b/js/bootstrap-scrollspy.js
@@ -98,7 +98,7 @@
return this
}
- $(function () {
+ $(document).ready(function () {
$('body').scrollSpy('[data-scrollspy] li > a')
})