diff options
Diffstat (limited to 'js/Electrical/Gyrator.js')
-rw-r--r-- | js/Electrical/Gyrator.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Electrical/Gyrator.js b/js/Electrical/Gyrator.js index 0b0ec7dd..988d2f0c 100644 --- a/js/Electrical/Gyrator.js +++ b/js/Electrical/Gyrator.js @@ -60,8 +60,8 @@ function Gyrator() { return options; } Gyrator.prototype.set = function Gyrator() { - this.G1 = parseFloat((arguments[0]["G1"])) - this.G2 = parseFloat((arguments[0]["G2"])) + this.G1 = arguments[0]["G1"] + this.G2 = arguments[0]["G2"] this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; |