summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Borg <jakob@nym.se>2016-06-13 18:04:01 +0200
committerJakob Borg <jakob@nym.se>2016-06-13 18:06:12 +0200
commitbb5b1f8f01e122851d7696859176a42a4f4c691f (patch)
tree01e5821f876d96e0fa4ed3f8d6975a05db834aeb
parentc1a96d490015532053a1a1db7ebd73d15cd50683 (diff)
gui: Temporarily disable the usage reporting prompt (ref #3301)v0.13.7
-rwxr-xr-xgui/default/syncthing/core/syncthingController.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js
index f9214c947..716107564 100755
--- a/gui/default/syncthing/core/syncthingController.js
+++ b/gui/default/syncthing/core/syncthingController.js
@@ -221,7 +221,9 @@ angular.module('syncthing.core')
document.cookie = "firstVisit=" + Date.now() + ";max-age=" + 30 * 24 * 3600;
} else {
if (+firstVisit < Date.now() - 4 * 3600 * 1000) {
- $('#ur').modal();
+ setTimeout(function () {
+ $('#ur').modal();
+ }, 2500);
}
}
}