Do not show the modal on demo sites (#5686)
Costa Tsaousis committed
Mar 22, 2019 at 12:39 UTC
3ac61d2701fe4928cddf1e37dcf2f822f4dc784b
2 files changed
+7
-7
web/gui/index.html
+1
-1
@@ -51,7 +51,7 @@
51
<meta name="twitter:description" content="Unparalleled insights, in real-time, of everything happening on your Linux systems and applications, with stunning, interactive web dashboards and powerful performance and health alarms." />
52
<meta name="twitter:image" content="https://cloud.githubusercontent.com/assets/2662304/14092712/93b039ea-f551-11e5-822c-beadbf2b2a2e.gif" />
53
54
- <script src="main.js?v=5"></script>
54
+ <script src="main.js?v=7"></script>
55
</head>
56
57
<body data-spy="scroll" data-target="#sidebar" data-offset="100">
web/gui/main.js
+6
-6
@@ -4369,12 +4369,6 @@ function finalizePage() {
4369
// do not to give errors on netdata demo servers for 60 seconds
4370
NETDATA.options.current.retries_on_data_failures = 60;
4371
4372
- if (urlOptions.nowelcome !== true) {
4373
- setTimeout(function () {
4374
- $('#welcomeModal').modal();
4375
- }, 1000);
4376
- }
4377
-
4372
// google analytics when this is used for the home page of the demo sites
4373
// this does not run on user's installations
4374
setTimeout(function () {
@@ -4413,6 +4407,12 @@ function finalizePage() {
4407
NETDATA.globalPanAndZoom.setMaster(NETDATA.options.targets[0], netdataSnapshotData.after_ms, netdataSnapshotData.before_ms);
4408
}
4409
4410
+ //if (urlOptions.nowelcome !== true) {
4411
+ // setTimeout(function () {
4412
+ // $('#welcomeModal').modal();
4413
+ // }, 2000);
4414
+ //}
4415
+
4416
// var netdataEnded = performance.now();
4417
// console.log('start up time: ' + (netdataEnded - netdataStarted).toString() + ' ms');
4418
}