diff options
Diffstat (limited to 'js/Electrical/Inductor.js')
-rw-r--r-- | js/Electrical/Inductor.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/Electrical/Inductor.js b/js/Electrical/Inductor.js index e9f81d71..052b27ad 100644 --- a/js/Electrical/Inductor.js +++ b/js/Electrical/Inductor.js @@ -28,6 +28,7 @@ function Inductor() { Inductor.prototype.get = function Inductor() { } Inductor.prototype.set = function Inductor() { + this.L = parseFloat((arguments[0]["L"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; |