Files
btc-trading/src
DiTus 2c7cbbe073 Complete rewrite of indicators panel to fix duplicate event listeners
Key changes:
- Single 'listenersAttached' flag tracks if any listeners are attached
- One shared event delegation handler handles all button types (add, config, remove, favorite)
- Stop propagation immediately on button clicks to prevent multiple triggers
- Added e.stopPropagation() calls to prevent event bubbling
- Consolidated event listener logic into single function
- Added safety checks before calling window.functionName

This fixes the issue where one click added multiple indicators (3x MA, 6x HTS, 4x RSI) by preventing duplicate event listener setup.
2026-02-25 23:04:10 +01:00
..
2026-02-25 22:10:30 +01:00