From 3ea3b9b2402537e24bb820fe130eff635e7b6d5c Mon Sep 17 00:00:00 2001 From: Alistair Marshall Date: Sat, 28 Mar 2020 19:06:32 +0000 Subject: [PATCH 1/2] Add button to show previously generated simulations --- index.html | 2 +- js/cFIREsimOpen.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 5825979..f545415 100644 --- a/index.html +++ b/index.html @@ -304,7 +304,7 @@

The Crowdsourced FIRE Simulator (cFIREsim) - Open Source
Run Simulation - + diff --git a/js/cFIREsimOpen.js b/js/cFIREsimOpen.js index 6ed1123..6382401 100644 --- a/js/cFIREsimOpen.js +++ b/js/cFIREsimOpen.js @@ -757,6 +757,7 @@ var Simulation = { $('#tabNav a[href="#' + Simulation.tabs + 'a"]').tab('show'); $('a[href="#' + Simulation.tabs + 'a"]').parent('li').show(); + $('#showPreviousSimulations').show(); }, convertToCSV: function(results) { //converts a random cycle of simulation into a CSV file, for users to easily view var csv = ""; From 7f1764f87ce98c6f998b8936183db9d14514da66 Mon Sep 17 00:00:00 2001 From: Alistair Marshall Date: Sat, 28 Mar 2020 19:08:20 +0000 Subject: [PATCH 2/2] Fix incorrect indentation --- js/cFIREsimOpen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/cFIREsimOpen.js b/js/cFIREsimOpen.js index 6382401..ece6f4d 100644 --- a/js/cFIREsimOpen.js +++ b/js/cFIREsimOpen.js @@ -757,7 +757,7 @@ var Simulation = { $('#tabNav a[href="#' + Simulation.tabs + 'a"]').tab('show'); $('a[href="#' + Simulation.tabs + 'a"]').parent('li').show(); - $('#showPreviousSimulations').show(); + $('#showPreviousSimulations').show(); }, convertToCSV: function(results) { //converts a random cycle of simulation into a CSV file, for users to easily view var csv = "";