mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
experimenting with some undefined comparators in strict mode
This commit is contained in:
parent
f1df9ade05
commit
8dabc3ac91
3 changed files with 5 additions and 3 deletions
|
@ -10,6 +10,8 @@
|
|||
I am using arbitrary dimensions which fixes the Windows 7 problem, hopefully it will get resolved in future release so other OSs won't have to
|
||||
use bigger dimensions by default.
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
function start_app() {
|
||||
chrome.app.window.create('main.html', {
|
||||
id: 'main-window',
|
||||
|
@ -79,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 (typeof result.update_notify === 'undefined' || result.update_notify) {
|
||||
if (!result.update_notify || result.update_notify) {
|
||||
var manifest = chrome.runtime.getManifest();
|
||||
var options = {
|
||||
priority: 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue