Skip to content
Snippets Groups Projects
Commit 3b56030e authored by Thrasyvoulos Karydis's avatar Thrasyvoulos Karydis
Browse files

fixed bug on fc

parent 65f2b3f8
Branches ml-mods
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment