From 4a64c7eaeb5e016e13f21ee613ac91fb03b84fc9 Mon Sep 17 00:00:00 2001 From: Pitchaya Boonsarngsuk <2285135b@student.gla.ac.uk> Date: Mon, 12 Feb 2018 08:51:58 +0000 Subject: [PATCH] Fix 1 extra { --- src/hybridSimulation.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/hybridSimulation.js b/src/hybridSimulation.js index 8e983ea..98fe1b4 100644 --- a/src/hybridSimulation.js +++ b/src/hybridSimulation.js @@ -105,11 +105,10 @@ export default function (sim, forceS, forceF) { } function fullEnded() { - simulation.stop(); - initAlready = false; - simulation.force("Full force", null); - event.call("end"); - } + simulation.stop(); + initAlready = false; + simulation.force("Full force", null); + event.call("end"); } function sampleEnded() {