mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-25 21:09:06 +02:00
add basic back to top link via affix
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
e.preventDefault()
|
||||
})
|
||||
|
||||
// side bar
|
||||
// back to top
|
||||
// setTimeout(function () {
|
||||
// $('.bs-docs-sidenav').affix({
|
||||
// offset: {
|
||||
@@ -23,6 +23,10 @@
|
||||
// })
|
||||
// }, 100)
|
||||
|
||||
setTimeout(function () {
|
||||
$('.bs-docs-top').affix()
|
||||
}, 100)
|
||||
|
||||
// make code pretty
|
||||
window.prettyPrint && prettyPrint()
|
||||
|
||||
|
Reference in New Issue
Block a user