mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
gui: Temporarily disable the usage reporting prompt (ref #3301)
This commit is contained in:
parent
c1a96d4900
commit
bb5b1f8f01
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user