1
0
mirror of https://github.com/psychopy/psychojs.git synced 2025-05-10 10:40:54 +00:00

ENH: If exit message is specified, don't prepend "Thank you for your patience

This commit is contained in:
TEParsons 2024-06-07 14:40:23 +01:00
parent 702cbc57b0
commit da5e08473e

View File

@ -602,8 +602,8 @@ export class PsychoJS
if (showOK)
{
let text = "Thank you for your patience.";
text += (typeof message !== "undefined") ? message : "Goodbye!";
let text = "";
text += (typeof message !== "undefined") ? message : "Thank you for your patience. Goodbye!";
this._gui.dialog({
message: text,
onOK: onTerminate