summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulie Lala <jules@okfoc.us>2014-08-22 19:39:19 -0400
committerJulie Lala <jules@okfoc.us>2014-08-22 19:39:19 -0400
commit975770035a3e964dfde88332eae51698394ad0a2 (patch)
tree2a48fd13f7463fd9cc6750c9cdcd79aea900925e
parent752a58cf4ffb02cb414b0ddb06762ea3d48c704a (diff)
-rw-r--r--index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.html b/index.html
index c899ee2..6ddef99 100644
--- a/index.html
+++ b/index.html
@@ -131,14 +131,14 @@ function paint () {
break
case 'a':
x_range = L_range
- val = hunter_a.value
+ val = parseFloat(hunter_a.value)
y_range = b_range
fn = new Function('a','L','b', fn_body)
break
case 'b':
x_range = L_range
y_range = a_range
- val = hunter_b.value
+ val = parseFloat(hunter_b.value)
fn = new Function('b','L','a', fn_body)
break
}