File tree 2 files changed +1
-11
lines changed
2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change 1
1
window . onload = function ( ) {
2
2
3
- // Scroll-to-top button
4
- const top_scroll_buttons = document . getElementsByClassName ( "top-scroll-btn" ) ;
5
- for ( let i = 0 ; i < top_scroll_buttons . length ; i ++ ) {
6
- // When the user clicks on the button, scroll to the top of the document
7
- top_scroll_buttons [ i ] . addEventListener ( "click" , function ( ) {
8
- console . log ( "top_scroll_button clicked!" )
9
- window . scrollTo ( 0 , 0 ) ;
10
- } ) ;
11
- }
12
-
13
3
all_property_desc = document . getElementsByClassName ( "prop_desc" )
14
4
15
5
//for (let i = 0; i < all_property_desc.length; i++) {
Original file line number Diff line number Diff line change 81
81
{% for term in schema.definitions %}
82
82
83
83
{% if include.layout=="cai" %}
84
- <button class =" top-scroll-btn " title =" Go to top " >Scroll To Top</button >
84
+ <a class =" top-scroll-btn " title =" Go to top " href = " #manifeststore " >Scroll To Top</a >
85
85
{% endif %}
86
86
87
87
### {{term.first}}
You can’t perform that action at this time.
0 commit comments