Add BTC/ETH spot tickers on nav, anchored to Beijing 08:00 open.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-17 11:42:19 +08:00
parent 960565482f
commit 08029ccb15
9 changed files with 472 additions and 14 deletions
+2 -1
View File
@@ -262,7 +262,8 @@
const mq = window.matchMedia("(max-width: 720px)");
function scrollActiveTab(nav) {
const active = nav.querySelector("a.active");
const scroller = nav.querySelector(".top-nav-links") || nav;
const active = scroller.querySelector("a.active");
if (!active) return;
requestAnimationFrame(() => {
try {