From bb5b1f8f01e122851d7696859176a42a4f4c691f Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 13 Jun 2016 18:04:01 +0200 Subject: [PATCH] gui: Temporarily disable the usage reporting prompt (ref #3301) --- gui/default/syncthing/core/syncthingController.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } } }