修复交易记录导航折叠功能缺失的JS函数
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -270,6 +270,10 @@ function setTheme(dark) {
|
||||
function toggleTheme() {
|
||||
setTheme(document.documentElement.getAttribute('data-theme') !== 'dark');
|
||||
}
|
||||
function toggleNavGroup(e, id) {
|
||||
e.preventDefault();
|
||||
document.getElementById(id).classList.toggle('open');
|
||||
}
|
||||
(function() {
|
||||
try {
|
||||
var s = localStorage.getItem('ft-theme');
|
||||
|
||||
Reference in New Issue
Block a user