diff options
Diffstat (limited to 'js/NonLinear/TrigFun.js')
-rw-r--r-- | js/NonLinear/TrigFun.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/NonLinear/TrigFun.js b/js/NonLinear/TrigFun.js index e9f7f34c..1c4906ed 100644 --- a/js/NonLinear/TrigFun.js +++ b/js/NonLinear/TrigFun.js @@ -24,7 +24,7 @@ function TrigFun() { TrigFun.prototype.set = function TrigFun() { var exprs = this.graphics.exprs; var PREVAR_FF = [["sin"],["cos"],["tan"],["asin"],["acos"],["atan"],["sinh"],["cosh"],["tanh"],["asinh"],["acosh"],["atanh"]]; - var PREVAR_GG = [["Choose among "+strcat(PREVAR_FF.slice(1-1,4),", ")],[strcat(PREVAR_FF.slice(5-1,$),", ")]]; + this.PREVAR_GG = [["Choose among "+strcat(PREVAR_FF.slice(1-1,4),", ")],[strcat(PREVAR_FF.slice(5-1,$),", ")]]; while (true) { var ok = true; this.fun = arguments[0]["fun"]; @@ -45,7 +45,7 @@ function TrigFun() { return new BasicBlock(this.x); } TrigFun.prototype.get_popup_title = function TrigFun() { - var set_param_popup_title = PREVAR_GG; + var set_param_popup_title = "Choose among "+strcat(PREVAR_FF.slice(1-1,4),", "); return set_param_popup_title; } } |