1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00

fixing all broken statements that got broken in recent undefined runs

This commit is contained in:
cTn 2014-08-14 17:03:47 +02:00 committed by Dominic Clifton
parent b337359389
commit c87025b3bf
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}
});