mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-04 20:57:36 +02:00
only prevent default of links in sections
This commit is contained in:
@@ -38,7 +38,7 @@ $(function(){
|
|||||||
// it's merely here to prevent button clicks form taking you
|
// it's merely here to prevent button clicks form taking you
|
||||||
// away from your spot on page!!
|
// away from your spot on page!!
|
||||||
|
|
||||||
$('[href^=#]').click(function (e) {
|
$('section [href^=#]').click(function (e) {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user