From: Sebastián Ramírez Date: Wed, 22 Jul 2026 13:10:11 +0000 (+0200) Subject: 🐛 Prevent Termynal controls from scrolling (#2051) X-Git-Url: http://git.ipfire.org/index.cgi?a=commitdiff_plain;h=7152b2660d4980cf77703a4f01f52c625399ebf8;p=thirdparty%2Ffastapi%2Fsqlmodel.git 🐛 Prevent Termynal controls from scrolling (#2051) --- diff --git a/docs/js/termynal.js b/docs/js/termynal.js index 45bb371c8..db71f65a5 100644 --- a/docs/js/termynal.js +++ b/docs/js/termynal.js @@ -133,7 +133,7 @@ class Termynal { this.container.innerHTML = '' this.init() } - restart.href = '#' + restart.href = 'javascript:void(0)' restart.setAttribute('data-terminal-control', '') restart.innerHTML = "restart ↻" return restart @@ -147,7 +147,7 @@ class Termynal { this.typeDelay = 0 this.startDelay = 0 } - finish.href = '#' + finish.href = 'javascript:void(0)' finish.setAttribute('data-terminal-control', '') finish.innerHTML = "fast →" this.finishElement = finish