mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
Update docs JS to prevent clicks on links with hash hrefs
This commit is contained in:
parent
9ba11ba60a
commit
9fac2c0467
@ -9,7 +9,7 @@
|
|||||||
var $window = $(window)
|
var $window = $(window)
|
||||||
|
|
||||||
// Disable certain links in docs
|
// Disable certain links in docs
|
||||||
$('section [href^=#]').click(function (e) {
|
$('[href=#]').click(function (e) {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user