1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-21 17:26:55 +01:00

fix scroll spy

This commit is contained in:
Matthias Kretschmann 2020-05-25 11:18:32 +02:00
parent 4eac11584f
commit 56f4eda210
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 7 additions and 7 deletions

View File

@ -19,7 +19,7 @@ jQuery(function ($) {
//
// Scrollspy
//
gumshoe.init()
var spy = new Gumshoe('#gumshoe a');
//

View File

@ -124,13 +124,13 @@ conn.postTransactionCommit(txSigned)
</div>
</section>
<nav class="menu--sub" data-gumshoe-header>
<nav class="menu--sub" id="gumshoe">
<div class="row row--wide">
<div class="menu-overflow" data-gumshoe>
<a class="menu__link" href="#server" data-scroll><span class="number">1</span> {{ content.server.title }}</a>
<a class="menu__link" href="#drivers" data-scroll><span class="number">2</span> {{ content.drivers.title }}</a>
<a class="menu__link" href="#docs" data-scroll><span class="number">3</span> {{ content.docs.title }}</a>
<a class="menu__link" href="#community" data-scroll><span class="number">4</span> {{ content.community.title }}</a>
<div class="menu-overflow">
<a class="menu__link" href="#server"><span class="number">1</span> {{ content.server.title }}</a>
<a class="menu__link" href="#drivers"><span class="number">2</span> {{ content.drivers.title }}</a>
<a class="menu__link" href="#docs"><span class="number">3</span> {{ content.docs.title }}</a>
<a class="menu__link" href="#community"><span class="number">4</span> {{ content.community.title }}</a>
</div>
</div>
</nav>