Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNavFlight/inav-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Spychalski (DzikuVx) <pspychalski@gmail.com>2017-01-23 22:21:17 +0300
committerPawel Spychalski (DzikuVx) <pspychalski@gmail.com>2017-01-23 22:21:17 +0300
commit604adf7dae5c12fe9aa8fa548c86a4c2d4165c40 (patch)
treec220aaf1cc48f85ed8e7c175cdaede8851b5d5d8 /main.js
parent638cf920489c06fc39a4e393cdf77f88e6db2734 (diff)
update check disabled
Diffstat (limited to 'main.js')
-rw-r--r--main.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/main.js b/main.js
index d793ef96..4d4c48cc 100644
--- a/main.js
+++ b/main.js
@@ -38,14 +38,6 @@ $(document).ready(function () {
break;
}
- // check release time to inform people in case they are running old release
- if (CONFIGURATOR.releaseDate > (new Date().getTime() - (86400000 * 60))) { // 1 day = 86400000 miliseconds, * 60 = 2 month window
- console.log('Application version is valid for another: ' + Math.round((CONFIGURATOR.releaseDate - (new Date().getTime() - (86400000 * 60))) / 86400000) + ' days');
- } else {
- console.log('Application version expired');
- GUI.log('You are using an old version of ' + chrome.runtime.getManifest().name + '. There may be a more recent version with improvements and fixes.');
- }
-
chrome.storage.local.get('logopen', function (result) {
if (result.logopen) {
$("#showlog").trigger('click');