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:
authorPaweł Spychalski <pspychalski@gmail.com>2017-01-24 23:41:27 +0300
committerGitHub <noreply@github.com>2017-01-24 23:41:27 +0300
commit0ab6c7b8493fc5a7bcf9ebf7dd7c334ab4f618bc (patch)
tree2711899ad3dda3578f0657401020e0d0a7904bf8 /main.js
parent5643c9f312daa0bcd0f4b4aa67b4c00f3e2dbab4 (diff)
parent604adf7dae5c12fe9aa8fa548c86a4c2d4165c40 (diff)
Merge pull request #117 from iNavFlight/version-check-disabled
update check removed
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 4f995e3a..094f5f88 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');