Update TradingSimulation.js

This commit is contained in:
Luis Fernando Molina committed 2020-03-30 20:04:33 +02:00
1 parent 8ccf62c4dc
commit aee37b4ea2
1 file changed
+1
+1
View File
@@ -1502,6 +1502,7 @@
if (parentNode !== undefined) {
let phase = parentNode.takeProfit.phases[p];
if (phase === undefined) {return} // trying to jump to a phase that does not exists.
let nextPhaseEvent = phase.nextPhaseEvent;
if (nextPhaseEvent !== undefined) {