summaryrefslogtreecommitdiff
path: root/js/Electrical/Resistor.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/Resistor.js')
-rw-r--r--js/Electrical/Resistor.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Electrical/Resistor.js b/js/Electrical/Resistor.js
index ab9bd491..d1afe3e9 100644
--- a/js/Electrical/Resistor.js
+++ b/js/Electrical/Resistor.js
@@ -33,14 +33,14 @@ model=arg1.model;
while (true) {
[ok,R,exprs]=scicos_getvalue("Set Resistor block parameter","R (ohm)",list("vec",1),exprs);
if (!ok) {
-break
+break;
}
model.rpar=R;
model.equations.parameters[2-1]=list(R);
graphics.exprs=exprs;
x.graphics=graphics;
x.model=model;
-break
+break;
}
}
}