Commit 29acc5ea authored by Guillaume Seguin's avatar Guillaume Seguin

Unbreak carousel prev/next buttons

parent d367e71e
......@@ -271,7 +271,7 @@
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript">
$(function() {
$('a[href*=#]:not([href=#])').click(function() {
$('a[href*=#]:not([href=#]):not([href=#carousel])').click(function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
......
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