diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/stochasticca.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/stochasticca.js b/js/stochasticca.js index 5226c35..3e9ad22 100644 --- a/js/stochasticca.js +++ b/js/stochasticca.js @@ -28,7 +28,7 @@ function drawCA() $("#error").text("Error - Invalid parameters: " + $("#params").val() + "."); return; } - createCanvas(width, time); + createCanvas(width, time).parent("#canvas"); var C = Math.floor(params.length / 2); var values = [[]]; for (var i = 0; i < width; i++) |