summaryrefslogtreecommitdiff
path: root/js/Branching/MUX.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/MUX.js')
-rw-r--r--js/Branching/MUX.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/Branching/MUX.js b/js/Branching/MUX.js
index 4c69be07..be1ddfe2 100644
--- a/js/Branching/MUX.js
+++ b/js/Branching/MUX.js
@@ -18,6 +18,8 @@ function MUX() {
return this.x;
}
MUX.prototype.get = function MUX() {
+ var exprs = this.graphics.exprs;
+ this.set_param_popup_title = "Set MUX block parameters";
var options = {
in1:["number of input ports or vector of sizes",this.in1],
}
@@ -74,7 +76,6 @@ function MUX() {
return new BasicBlock(this.x);
}
MUX.prototype.get_popup_title = function MUX() {
- var set_param_popup_title = "Set MUX block parameters";
- return set_param_popup_title;
+ return this.set_param_popup_title;
}
}