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.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/Electrical/Gyrator.js b/js/Electrical/Gyrator.js
index 6c97cfce..71c2b2af 100644
--- a/js/Electrical/Gyrator.js
+++ b/js/Electrical/Gyrator.js
@@ -53,6 +53,9 @@ function Gyrator() {
return this.x;
}
Gyrator.prototype.get = function Gyrator() {
+ var exprs = this.graphics.exprs;
+ var exprs = this.x.graphics.exprs;
+ this.set_param_popup_title = "Set Gyrator block parameters:";
var options = {
G1:["G1",this.G1],
G2:["G2",this.G2],
@@ -77,7 +80,6 @@ function Gyrator() {
return new BasicBlock(this.x);
}
Gyrator.prototype.get_popup_title = function Gyrator() {
- var set_param_popup_title = "Set Gyrator block parameters:";
- return set_param_popup_title;
+ return this.set_param_popup_title;
}
}