mirror of
https://github.com/twbs/bootstrap.git
synced 2025-10-01 15:56:45 +02:00
Merge branch 'master' into document_popover_focus
Conflicts: docs/assets/js/docs.min.js
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
var navHeight = $('.navbar').outerHeight(true) + 10
|
||||
|
||||
$body.scrollspy({
|
||||
target: '.bs-sidebar',
|
||||
target: '.bs-docs-sidebar',
|
||||
// offset: navHeight
|
||||
})
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
// back to top
|
||||
setTimeout(function () {
|
||||
var $sideBar = $('.bs-sidebar')
|
||||
var $sideBar = $('.bs-docs-sidebar')
|
||||
|
||||
$sideBar.affix({
|
||||
offset: {
|
||||
@@ -60,7 +60,7 @@
|
||||
return (this.top = offsetTop - navOuterHeight - sideBarMargin)
|
||||
},
|
||||
bottom: function () {
|
||||
return (this.bottom = $('.bs-footer').outerHeight(true))
|
||||
return (this.bottom = $('.bs-docs-footer').outerHeight(true))
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user