From 1088d2abd908b7101ad7ea4ed0a5e141307d7693 Mon Sep 17 00:00:00 2001 From: Ashish Pandey <126683810+Ashish-Pandey62@users.noreply.github.com> Date: Sun, 31 Aug 2025 16:17:57 +0545 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Prevent=20scroll-to-top=20on=20r?= =?UTF-8?q?estart/fast=20buttons=20in=20`termynal.js`=20(#13714)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- docs/en/docs/js/termynal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/docs/js/termynal.js b/docs/en/docs/js/termynal.js index 4ac32708a..82d04e2d0 100644 --- a/docs/en/docs/js/termynal.js +++ b/docs/en/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