test shell script
This commit is contained in:
parent
be87baf5fa
commit
1800c1239b
|
|
@ -20,7 +20,7 @@ const ShowLog = () => {
|
||||||
const scrollToElement = () => {
|
const scrollToElement = () => {
|
||||||
const hash = window.location.hash;
|
const hash = window.location.hash;
|
||||||
if (hash) {
|
if (hash) {
|
||||||
const targetElement = document.getElementById(hash.slice(1)); // Replace "3" with the desired id
|
const targetElement = document.getElementById(hash.slice(1));
|
||||||
if (targetElement) {
|
if (targetElement) {
|
||||||
targetElement.scrollIntoView({ behavior: "smooth" });
|
targetElement.scrollIntoView({ behavior: "smooth" });
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue