From 14e2f08d9d8eef1c57bb85e1fe0259a319e99589 Mon Sep 17 00:00:00 2001
From: Patrick <patrick.wuerstle@gmx.de>
Date: Thu, 9 Jul 2020 09:53:29 +0200
Subject: [PATCH] small update

---
 vcm/templates/custom.js                 | 13 +++++++------
 vcm/templates/story/virtualcitystory.js |  1 +
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/vcm/templates/custom.js b/vcm/templates/custom.js
index cc97e90d8..250c21109 100644
--- a/vcm/templates/custom.js
+++ b/vcm/templates/custom.js
@@ -1,10 +1,11 @@
 
-// window.onload = function(){
-//   var scale = 'scale(1)';
-//   document.body.style.webkitTransform =  scale;    // Chrome, Opera, Safari
-//   document.body.style.msTransform =   scale;       // IE 9
-//   document.body.style.transform = scale;     // General
-// };
+ window.onload = function(){
+// //   var scale = 'scale(1)';
+// //   document.body.style.webkitTransform =  scale;    // Chrome, Opera, Safari
+// //   document.body.style.msTransform =   scale;       // IE 9
+// //   document.body.style.transform = scale;     // General
+$("#tour-button").hide();
+ };
 
 
 
diff --git a/vcm/templates/story/virtualcitystory.js b/vcm/templates/story/virtualcitystory.js
index 2027b6016..595db31a0 100644
--- a/vcm/templates/story/virtualcitystory.js
+++ b/vcm/templates/story/virtualcitystory.js
@@ -480,6 +480,7 @@ var showTour = function() {
     $("#story-frame").removeClass("tour-inactive");
     $("#widget-box").addClass("hidden");
     $(".mapControls").addClass("hidden");
+    $("#tour-button").show();
     //$(".tool-box").addClass("hidden");
     //$(".tour-header").removeClass("hidden");
     if(disableMovement) {
-- 
GitLab