mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-21 15:00:23 +00:00
Update docs JS to prevent clicks on links with hash hrefs
This commit is contained in:
parent
9ba11ba60a
commit
9fac2c0467
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
|||
var $window = $(window)
|
||||
|
||||
// Disable certain links in docs
|
||||
$('section [href^=#]').click(function (e) {
|
||||
$('[href=#]').click(function (e) {
|
||||
e.preventDefault()
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue