mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
Update docs JS to prevent clicks on links with hash hrefs
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
var $window = $(window)
|
||||
|
||||
// Disable certain links in docs
|
||||
$('section [href^=#]').click(function (e) {
|
||||
$('[href=#]').click(function (e) {
|
||||
e.preventDefault()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user