|
@@ -1,4 +1,4 @@
|
1
|
|
-/* global interfaceConfig */
|
|
1
|
+/* global interfaceConfig, getConfigParamsFromUrl */
|
2
|
2
|
//list of tips
|
3
|
3
|
var hints = [
|
4
|
4
|
"You can pin participants by clicking on their thumbnails.",// jshint ignore:line
|
|
@@ -32,7 +32,7 @@ function insertTextMsg(id, msg){
|
32
|
32
|
var el = document.getElementById(id);
|
33
|
33
|
|
34
|
34
|
if (el)
|
35
|
|
- el.innerText = msg;
|
|
35
|
+ el.innerHTML = msg;
|
36
|
36
|
}
|
37
|
37
|
|
38
|
38
|
/**
|
|
@@ -42,6 +42,18 @@ function onLoad() {
|
42
|
42
|
//Works only for close2.html because close.html doesn't have this element.
|
43
|
43
|
insertTextMsg('thanksMessage',
|
44
|
44
|
'Thank you for using ' + interfaceConfig.APP_NAME);
|
|
45
|
+
|
|
46
|
+ // If there is a setting show a special message only for the guests
|
|
47
|
+ if (interfaceConfig.CLOSE_PAGE_GUEST_HINT) {
|
|
48
|
+ let params = getConfigParamsFromUrl('search');
|
|
49
|
+ if ( params.guest ) {
|
|
50
|
+ var element = document.getElementById('hintQuestion');
|
|
51
|
+ element.classList.add('hide');
|
|
52
|
+ insertTextMsg('hintMessage', interfaceConfig.CLOSE_PAGE_GUEST_HINT);
|
|
53
|
+ return;
|
|
54
|
+ }
|
|
55
|
+ }
|
|
56
|
+
|
45
|
57
|
insertTextMsg('hintMessage', getHint());
|
46
|
58
|
}
|
47
|
59
|
|