diff options
Diffstat (limited to 'js/Electrical/PMOS.js')
-rw-r--r-- | js/Electrical/PMOS.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/Electrical/PMOS.js b/js/Electrical/PMOS.js index ac8c4a1a..11a1d8a0 100644 --- a/js/Electrical/PMOS.js +++ b/js/Electrical/PMOS.js @@ -33,6 +33,8 @@ function PMOS() { return this.x; } PMOS.prototype.get = function PMOS() { + var exprs = this.graphics.exprs; + this.set_param_popup_title = "Set PMOS Transistor parameters"; var options = { W:["Width [m]",this.W], L:["Length [m]",this.L], @@ -72,7 +74,6 @@ function PMOS() { return new BasicBlock(this.x); } PMOS.prototype.get_popup_title = function PMOS() { - var set_param_popup_title = "Set PMOS Transistor parameters"; - return set_param_popup_title; + return this.set_param_popup_title; } } |