Update readconfigcommon.js

fix for: The same message("Image Contrast got enhanced") came up with "Update Marker" and "Enhance Image Contrast".
This commit is contained in:
michael
2024-08-27 16:56:23 +02:00
committed by GitHub
parent f8eb4db171
commit 5c57522b71

View File

@@ -245,7 +245,12 @@ function MakeRefImageZW(zw, _enhance, _domainname){
} catch (error){}
if (xhttp.responseText == "CutImage Done") {
firework.launch('Image Contrast got enhanced', 'success', 5000);
if (_enhance == true) {
firework.launch('Image Contrast got enhanced', 'success', 5000);
}
else {
firework.launch('Alignment Marker have been updated', 'success', 5000);
}
return true;
}
else {