diff options
Diffstat (limited to 'js/Electrical/OpAmp.js')
-rw-r--r-- | js/Electrical/OpAmp.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/Electrical/OpAmp.js b/js/Electrical/OpAmp.js index dee90c80..266c2f7e 100644 --- a/js/Electrical/OpAmp.js +++ b/js/Electrical/OpAmp.js @@ -27,6 +27,8 @@ function OpAmp() { return this.x; } OpAmp.prototype.get = function OpAmp() { + var exprs = this.graphics.exprs; + this.set_param_popup_title = "Set the Operational Amplifier parameters"; var options = { OLGain:["Open Loop Gain",this.OLGain], SatH:["Positive saturation voltage",this.SatH], @@ -54,7 +56,6 @@ function OpAmp() { return new BasicBlock(this.x); } OpAmp.prototype.get_popup_title = function OpAmp() { - var set_param_popup_title = "Set the Operational Amplifier parameters"; - return set_param_popup_title; + return this.set_param_popup_title; } } |