Skip to content
Myr

🐛 Prevent scroll-to-top on restart/fast buttons in the documentation (#1904)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Philipp Stahlberg · committed by GitHub · parent 9051baa · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/js/termynal.js+2 added-2 removed
131 unmodified lines
132 e.preventDefault()133 this.container.innerHTML = ''134 this.init()135 }136 restart.href = '#'136 restart.href = 'javascript:void(0)'137 restart.setAttribute('data-terminal-control', '')138 restart.innerHTML = "restart ↻"139 return restart140 }
5 unmodified lines
146 this.lineDelay = 0147 this.typeDelay = 0148 this.startDelay = 0149 }150 finish.href = '#'150 finish.href = 'javascript:void(0)'151 finish.setAttribute('data-terminal-control', '')152 finish.innerHTML = "fast →"153 this.finishElement = finish154 return finish
109 unmodified lines