mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
experimenting with some undefined comparators in strict mode
This commit is contained in:
parent
6138c06fa4
commit
d3d933a704
3 changed files with 5 additions and 3 deletions
2
main.js
2
main.js
|
@ -129,7 +129,7 @@ $(document).ready(function () {
|
|||
|
||||
// if notifications are enabled, or wasn't set, check the notifications checkbox
|
||||
chrome.storage.local.get('update_notify', function (result) {
|
||||
if (result.update_notify === 'undefined' || result.update_notify) {
|
||||
if (!result.update_notify || result.update_notify) {
|
||||
$('div.notifications input').prop('checked', true);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue