diff options
author | Costa Tsaousis <costa@tsaousis.gr> | 2019-03-22 12:39:42 +0200 |
---|---|---|
committer | George Moschovitis <george.moschovitis@gmail.com> | 2019-03-22 12:39:42 +0200 |
commit | 3ac61d2701fe4928cddf1e37dcf2f822f4dc784b (patch) | |
tree | c2b397031cd5063b81766ad9ca3dbfe5ee5c53cb /web | |
parent | 4bd557c5b4994db9106482d28caf42c08afc3b4a (diff) |
Do not show the modal on demo sites (#5686)
Diffstat (limited to 'web')
-rw-r--r-- | web/gui/index.html | 2 | ||||
-rw-r--r-- | web/gui/main.js | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/web/gui/index.html b/web/gui/index.html index 83fbd6c58b..d0e4a2369f 100644 --- a/web/gui/index.html +++ b/web/gui/index.html @@ -51,7 +51,7 @@ <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." /> <meta name="twitter:image" content="https://cloud.githubusercontent.com/assets/2662304/14092712/93b039ea-f551-11e5-822c-beadbf2b2a2e.gif" /> - <script src="main.js?v=5"></script> + <script src="main.js?v=7"></script> </head> <body data-spy="scroll" data-target="#sidebar" data-offset="100"> diff --git a/web/gui/main.js b/web/gui/main.js index c69f828b47..8a61673eab 100644 --- a/web/gui/main.js +++ b/web/gui/main.js @@ -4369,12 +4369,6 @@ function finalizePage() { // do not to give errors on netdata demo servers for 60 seconds NETDATA.options.current.retries_on_data_failures = 60; - if (urlOptions.nowelcome !== true) { - setTimeout(function () { - $('#welcomeModal').modal(); - }, 1000); - } - // google analytics when this is used for the home page of the demo sites // this does not run on user's installations setTimeout(function () { @@ -4413,6 +4407,12 @@ function finalizePage() { NETDATA.globalPanAndZoom.setMaster(NETDATA.options.targets[0], netdataSnapshotData.after_ms, netdataSnapshotData.before_ms); } + //if (urlOptions.nowelcome !== true) { + // setTimeout(function () { + // $('#welcomeModal').modal(); + // }, 2000); + //} + // var netdataEnded = performance.now(); // console.log('start up time: ' + (netdataEnded - netdataStarted).toString() + ' ms'); } |