diff options
author | Jakob Borg <jakob@nym.se> | 2016-06-13 18:04:01 +0200 |
---|---|---|
committer | Jakob Borg <jakob@nym.se> | 2016-06-13 18:06:12 +0200 |
commit | bb5b1f8f01e122851d7696859176a42a4f4c691f (patch) | |
tree | 01e5821f876d96e0fa4ed3f8d6975a05db834aeb | |
parent | c1a96d490015532053a1a1db7ebd73d15cd50683 (diff) |
gui: Temporarily disable the usage reporting prompt (ref #3301)v0.13.7
-rwxr-xr-x | gui/default/syncthing/core/syncthingController.js | 4 |
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); } } } |