Commit 9fac2c04 authored by Mark Otto's avatar Mark Otto

Update docs JS to prevent clicks on links with hash hrefs

parent 9ba11ba6
...@@ -9,7 +9,7 @@ ...@@ -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()
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment