Commit 3b56030e authored by Thrasyvoulos Karydis's avatar Thrasyvoulos Karydis
Browse files

fixed bug on fc

parent 65f2b3f8
......@@ -61,7 +61,7 @@
input.type = 'text'
input.size = 6
input.addEventListener('input',function(evt){
mod.x = parseFloat(mod.xtext.value)
mod.x = eval(mod.xtext.value)
outputs.y.event()
})
div.appendChild(input)
......@@ -72,7 +72,8 @@
input.type = 'text'
input.size = 6
input.addEventListener('input',function(evt){
mod.w = parseFloat(mod.wtext.value)
mod.w = eval(mod.wtext.value) //TODO: check if eval is OK
here
outputs.y.event()
})
div.appendChild(input)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment