gui: Temporarily disable the usage reporting prompt (ref #3301)

This commit is contained in:
Jakob Borg 2016-06-13 18:04:01 +02:00
parent c1a96d4900
commit bb5b1f8f01

View File

@ -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);
}
}
}