Prevent TA panel refresh when changing timeframes
- Removed automatic TA reload when switching timeframes - TA panel now only loads on initial page load and when manually refreshed - User must click Refresh button to update TA after timeframe change
This commit is contained in:
@ -580,7 +580,7 @@ async loadTA() {
|
||||
document.getElementById('priceChange').className = 'stat-value ' + (change >= 0 ? 'positive' : 'negative');
|
||||
document.getElementById('dailyHigh').textContent = this.statsData.high_24h.toFixed(2);
|
||||
document.getElementById('dailyLow').textContent = this.statsData.low_24h.toFixed(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
switchTimeframe(interval) {
|
||||
@ -595,7 +595,7 @@ async loadTA() {
|
||||
|
||||
this.allData.delete(interval);
|
||||
this.loadInitialData();
|
||||
this.loadTA();
|
||||
// Don't reload TA on timeframe switch - let user refresh manually
|
||||
|
||||
window.clearSimulationResults?.();
|
||||
window.updateTimeframeDisplay?.();
|
||||
|
||||
Reference in New Issue
Block a user