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:
authorcTn <ctndesigner@gmail.com>2014-08-14 19:03:47 +0400
committercTn <ctndesigner@gmail.com>2014-08-14 19:03:47 +0400
commit906cf0d82b682990bfbf91a690c352b4729cc0d7 (patch)
tree713c4137ec5937486b2ff571dba9a298d506e2bb /eventPage.js
parentcc8e53205dea211cf9ea6f406b2ac0562e478f2f (diff)
fixing all broken statements that got broken in recent undefined runs
Diffstat (limited to 'eventPage.js')
-rw-r--r--eventPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/eventPage.js b/eventPage.js
index 5f97f1c3..be72ef57 100644
--- a/eventPage.js
+++ b/eventPage.js
@@ -81,7 +81,7 @@ chrome.runtime.onInstalled.addListener(function (details) {
// only fire up notification sequence when one of the major version numbers changed
if (currentVersionArr[0] != previousVersionArr[0] || currentVersionArr[1] != previousVersionArr[1]) {
chrome.storage.local.get('update_notify', function (result) {
- if (!result.update_notify || result.update_notify) {
+ if (result.update_notify === 'undefined' || result.update_notify) {
var manifest = chrome.runtime.getManifest();
var options = {
priority: 0,