|
@@ -41,9 +41,13 @@ function insertTextMsg(id, msg) {
|
41
|
41
|
* Sets the hint and thanks messages. Will be executed on load event.
|
42
|
42
|
*/
|
43
|
43
|
function onLoad() {
|
|
44
|
+ // Intentionally use string concatenation as this file does not go through
|
|
45
|
+ // babel but IE11 is still supported.
|
|
46
|
+ // eslint-disable-next-line prefer-template
|
|
47
|
+ const thankYouMessage = 'Thank you for using ' + interfaceConfig.APP_NAME;
|
|
48
|
+
|
44
|
49
|
// Works only for close2.html because close.html doesn't have this element.
|
45
|
|
- insertTextMsg('thanksMessage',
|
46
|
|
- `Thank you for using ${interfaceConfig.APP_NAME}`);
|
|
50
|
+ insertTextMsg('thanksMessage', thankYouMessage);
|
47
|
51
|
|
48
|
52
|
// If there is a setting show a special message only for the guests
|
49
|
53
|
if (interfaceConfig.CLOSE_PAGE_GUEST_HINT) {
|