Skip to content

Commit 7a3172b

Browse files
committed
Do not use alert in Math script
1 parent c40ddb5 commit 7a3172b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/JSRoot.math.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ JSROOT.define([], () => {
327327
mth.igami = function(a, y0) {
328328
// check the domain
329329
if (a <= 0) {
330-
alert("igami : Wrong domain for parameter a (must be > 0)");
330+
console.error("igami : Wrong domain for parameter a (must be > 0)");
331331
return 0;
332332
}
333333
if (y0 <= 0) {

0 commit comments

Comments
 (0)