fixedd query selector

This commit is contained in:
كارل مبارك 2021-07-23 07:43:11 +02:00
parent 0a2e17521b
commit 495d1b36e4

View file

@ -49,7 +49,7 @@ export default {
.replace(/\.|%[0-9a-z]{2}/gi, ""); .replace(/\.|%[0-9a-z]{2}/gi, "");
}, },
goTo(id) { goTo(id) {
document.querySelector(`.${this.currentStream} ${id}`).scrollIntoView({ document.querySelector(`${id}`).scrollIntoView({
behavior: "smooth", behavior: "smooth",
}); });
}, },