diff --git a/lib/instance/templates/embed_boot_scripts.html b/lib/instance/templates/embed_boot_scripts.html index 8339139..4a44b45 100644 --- a/lib/instance/templates/embed_boot_scripts.html +++ b/lib/instance/templates/embed_boot_scripts.html @@ -1252,8 +1252,6 @@ if(window.ManualOrderRrPreview){ }); refreshAccountSnapshot(); -const settingsRefreshFunds = document.getElementById("settings-refresh-funds"); -if (settingsRefreshFunds) settingsRefreshFunds.addEventListener("click", function(){ refreshAccountSnapshot({ force: true }); }); if (window.AccountRiskBadge) AccountRiskBadge.startTicker(); const _journalFormEl = document.getElementById("journal-form"); if(_journalFormEl){ diff --git a/lib/instance/templates/index.html b/lib/instance/templates/index.html index 7d131b3..bf2874a 100644 --- a/lib/instance/templates/index.html +++ b/lib/instance/templates/index.html @@ -1828,8 +1828,6 @@ if(window.ManualOrderRrPreview){ }); refreshAccountSnapshot(); -const settingsRefreshFunds = document.getElementById("settings-refresh-funds"); -if (settingsRefreshFunds) settingsRefreshFunds.addEventListener("click", function(){ refreshAccountSnapshot({ force: true }); }); if (window.AccountRiskBadge) AccountRiskBadge.startTicker(); const _journalFormEl = document.getElementById("journal-form"); if(_journalFormEl){ diff --git a/lib/instance/templates/instance_header_panel.html b/lib/instance/templates/instance_header_panel.html index b42a598..09229bb 100644 --- a/lib/instance/templates/instance_header_panel.html +++ b/lib/instance/templates/instance_header_panel.html @@ -32,7 +32,6 @@ {{ risk_status.status_label|default('正常') }} {% include 'instance_theme_toggle.html' %} -