Fix strict-mode in tour
Change-Id: Ifeaa1c32ad5d47fc4be4095113a0db70bcbf3a72
diff --git a/Changes b/Changes
index c24da7f..d58d4a7 100755
--- a/Changes
+++ b/Changes
@@ -1,4 +1,4 @@
-0.41 2021-01-29
+0.41 2021-02-09
- Introduce CORS headers to the proxy.
- Introduce Content Security Policy.
- Remove default api endpoint from config to
@@ -22,6 +22,7 @@
of the Piwik/Matomo plugin.
- Support CSP in overview SVG image.
- Fix guided tour to work with CSP.
+ - Fix strict-mode in tour.
0.40 2020-12-17
- Modernize ES and fix in-loops.
diff --git a/dev/js/src/tour/tours.js b/dev/js/src/tour/tours.js
index 4193f28..d67b518 100644
--- a/dev/js/src/tour/tours.js
+++ b/dev/js/src/tour/tours.js
@@ -171,8 +171,8 @@
targetedElement.value = loc.TOUR_Qexample;
break;
case "vc-view":
- vchoo = doe.querySelector("#vc-choose");
- vcv = doe.querySelector("#vc-view");
+ let vchoo = doe.querySelector("#vc-choose");
+ let vcv = doe.querySelector("#vc-view");
KorAP._delete.apply(KorAP.vc.root());
KorAP.vc.fromJson(loc.TOUR_vcQuery);