summaryrefslogtreecommitdiff
path: root/js/Electrical/Switch.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/Switch.js')
-rw-r--r--js/Electrical/Switch.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Electrical/Switch.js b/js/Electrical/Switch.js
index 46e66473..eff6b74e 100644
--- a/js/Electrical/Switch.js
+++ b/js/Electrical/Switch.js
@@ -36,8 +36,8 @@ function Switch() {
return options;
}
Switch.prototype.set = function Switch() {
- this.Ron = parseFloat((arguments[0]["Ron"]))
- this.Roff = parseFloat((arguments[0]["Roff"]))
+ this.Ron = parseFloat(arguments[0]["Ron"])
+ this.Roff = parseFloat(arguments[0]["Roff"])
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;