diff options
Diffstat (limited to 'js/NonLinear/EXPBLK_f.js')
-rw-r--r-- | js/NonLinear/EXPBLK_f.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/js/NonLinear/EXPBLK_f.js b/js/NonLinear/EXPBLK_f.js index 6634b9ad..cd43305a 100644 --- a/js/NonLinear/EXPBLK_f.js +++ b/js/NonLinear/EXPBLK_f.js @@ -19,6 +19,11 @@ function EXPBLK_f() { return this.x; } EXPBLK_f.prototype.get = function EXPBLK_f() { + var exprs = this.graphics.exprs; + if (size(exprs,"*")==2) { + var exprs = exprs[2-1]; + } + this.set_param_popup_title = "Set a^u block parameters"; var options = { a:["a (>0)",this.a], } @@ -50,7 +55,6 @@ function EXPBLK_f() { return new BasicBlock(this.x); } EXPBLK_f.prototype.get_popup_title = function EXPBLK_f() { - var set_param_popup_title = "Set a^u block parameters"; - return set_param_popup_title; + return this.set_param_popup_title; } } |