1
0
Fork 0
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:
cTn 2014-08-14 17:03:47 +02:00
parent cc8e53205d
commit 906cf0d82b
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);
}
});