2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

Update docs JS to prevent clicks on links with hash hrefs

This commit is contained in:
Mark Otto
2013-06-09 23:45:14 -07:00
parent 9ba11ba60a
commit 9fac2c0467
+1 -1
View File
@@ -9,7 +9,7 @@
var $window = $(window)
// Disable certain links in docs
$('section [href^=#]').click(function (e) {
$('[href=#]').click(function (e) {
e.preventDefault()
})