summaryrefslogtreecommitdiff
path: root/js/Electrical/Gyrator.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/Gyrator.js')
-rw-r--r--js/Electrical/Gyrator.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Electrical/Gyrator.js b/js/Electrical/Gyrator.js
index 7d246e9f..9e7f3ddb 100644
--- a/js/Electrical/Gyrator.js
+++ b/js/Electrical/Gyrator.js
@@ -62,11 +62,11 @@ exprs=x.graphics.exprs;
while (true) {
[ok,G1,G2,exprs]=scicos_getvalue(["Set Gyrator block parameters:","","G1: Gyration conductance","G2: Gyration conductance"],["G1","G2"],list("vec",1,"vec",1),exprs);
if (!ok) {
-break
+break;
}
x.model.equations.parameters[2-1]=list(G1,G2);
x.graphics.exprs=exprs;
-break
+break;
}
}
}