We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ed5346 commit fc4c661Copy full SHA for fc4c661
src/modes/qa.mode.js
@@ -3,10 +3,10 @@ const QA_RE = 'evolvCandidateToken=([_0-9]+)';
3
const QA_RE_REPLACE = '#?&?' + QA_RE;
4
5
export default {
6
- shouldActivate() {
+ shouldActivate: function() {
7
return new RegExp(QA_RE).test(window.location.hash);
8
},
9
- activate() {
+ activate: function() {
10
const match = window.location.hash.match(new RegExp(QA_RE));
11
12
if (match) {
src/webloader.js
@@ -69,7 +69,9 @@ function main() {
69
}
70
71
72
- modes.forEach(mode => mode.shouldActivate() && mode.activate());
+ modes.forEach(function(mode) {
73
+ return mode.shouldActivate() && mode.activate()
74
+ });
75
76
const candidateToken = evolv.retrieve('candidateToken', true);
77
0 commit comments