mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
fixing all broken statements that got broken in recent undefined runs
This commit is contained in:
parent
cc8e53205d
commit
906cf0d82b
2 changed files with 2 additions and 2 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 || result.update_notify) {
|
||||
if (result.update_notify === 'undefined' || result.update_notify) {
|
||||
$('div.notifications input').prop('checked', true);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue