We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 249e3eb commit 4348dd8Copy full SHA for 4348dd8
js/roller-coaster-engine.js
@@ -91,7 +91,7 @@ $(document).ready(function() {
91
var randomNumber = getRandom(maximum);
92
var rollerCoasterStatus = "";
93
var changeAbs = Math.abs((currentMoon / oldEarth) - 1).toFixed(3);
94
- var changeTreshold = 0.01;
+ var changeTreshold = 0.008;
95
96
if (changeAbs >= changeTreshold) {
97
$("#roller-coaster-guy").attr("src", "images/roller-coaster-guy.gif");
0 commit comments