summaryrefslogtreecommitdiff
path: root/js/Electrical/Gyrator.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/Gyrator.js')
-rw-r--r--js/Electrical/Gyrator.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Electrical/Gyrator.js b/js/Electrical/Gyrator.js
index aeba6720..1d717593 100644
--- a/js/Electrical/Gyrator.js
+++ b/js/Electrical/Gyrator.js
@@ -63,8 +63,8 @@ function Gyrator() {
this.G1 = arguments[0]["G1"]
this.G2 = arguments[0]["G2"]
this.x = arg1;
- var graphics = arg1.graphics;
- var exprs = graphics.exprs;
+ this.graphics = arg1.graphics;
+ var exprs = this.graphics.exprs;
this.model = arg1.model;
this.x = arg1;
var exprs = this.x.graphics.exprs;