summaryrefslogtreecommitdiff
path: root/js/Linear/VARIABLE_DELAY.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Linear/VARIABLE_DELAY.js')
-rw-r--r--js/Linear/VARIABLE_DELAY.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/Linear/VARIABLE_DELAY.js b/js/Linear/VARIABLE_DELAY.js
index c76c8a29..f5af9a08 100644
--- a/js/Linear/VARIABLE_DELAY.js
+++ b/js/Linear/VARIABLE_DELAY.js
@@ -22,6 +22,9 @@ function VARIABLE_DELAY() {
return this.x;
}
VARIABLE_DELAY.prototype.get = function VARIABLE_DELAY() {
+ var exprs = this.graphics.exprs;
+ var nin = this.model.in[1-1];
+ this.set_param_popup_title = "Set delay parameters";
var options = {
T:["Max delay",this.T],
init:["initial input",this.init],
@@ -69,7 +72,6 @@ function VARIABLE_DELAY() {
return new BasicBlock(this.x);
}
VARIABLE_DELAY.prototype.get_popup_title = function VARIABLE_DELAY() {
- var set_param_popup_title = "Set delay parameters";
- return set_param_popup_title;
+ return this.set_param_popup_title;
}
}