Collapsable tags no longer scroll to top
The href="#" causes the page to scroll back to top when expanding one of the collapsable tags.
This commit is contained in:
parent
b0cf886b59
commit
c95cb46fb6
1 changed files with 1 additions and 2 deletions
|
|
@ -8,8 +8,7 @@
|
|||
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
|
||||
{{ range $key, $value := .Data.Terms.ByCount }}
|
||||
<div class="panel panel-default">
|
||||
<a class="collapsed" role="button" data-toggle="collapse" data-target="#collapse{{ $value.Name }}" data-parent="#accordion"
|
||||
href="#" aria-expanded="false" aria-controls="collapse{{ $value.Name }}">
|
||||
<a class="collapsed" role="button" data-toggle="collapse" data-target="#collapse{{ $value.Name }}" data-parent="#accordion" aria-expanded="false" aria-controls="collapse{{ $value.Name }}">
|
||||
<div class="panel-heading" role="tab" id="header{{ $value.Name }}">
|
||||
<h4 class="panel-title">
|
||||
{{ $value.Name }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue