Skip to content

Commit a1ce1f5

Browse files
committed
Merge pull request #66 from colinmccann/master
sync button functionality fixed, spelling mistake fixed
2 parents c2f962d + b6fd28f commit a1ce1f5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ <h1>EvoRoom</h1>
245245
<div id="interview-intro" class="full-text-box" style="display:none">
246246
<div class="title"><b>Step 2 complete</b></div>
247247
<div>
248-
Your next task is to locate these reserachers (see below) and find out more information about THEIR rainforests.
248+
Your next task is to locate these researchers (see below) and find out more information about THEIR rainforests.
249249
After all, how will you know which rainforest is yours if you don't know how the other rainforests came to be?
250250
Maybe you can offer your expertise to help them find their rainforests as well. When you are ready, click on
251251
their names to begin.

js/evoroom.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,8 @@ var EvoRoom = {
894894
$('#group-notes .notes.'+x).text(data.results[x-1].payload.notes);
895895
}
896896
else {
897-
data.results[x-1].payload.notes.text('');
897+
//data.results[x-1].payload.notes.text('');
898+
$('#group-notes .notes.'+x).text('');
898899
}
899900
}
900901
}
@@ -911,6 +912,8 @@ var EvoRoom = {
911912
return "Rainforest C";
912913
} else if (rainforestString === "rainforest_d") {
913914
return "Rainforest D";
915+
} else if (rainforestString === "room") {
916+
alert("An error has occured. Please talk to a teacher"
914917
} else {
915918
return "unknown rainforest";
916919
}

0 commit comments

Comments
 (0)