1
0
Fork 0
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:
cTn 2014-08-14 16:23:08 +02:00
parent 6138c06fa4
commit d3d933a704
3 changed files with 5 additions and 3 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 === 'undefined' || result.update_notify) {
if (!result.update_notify || result.update_notify) {
$('div.notifications input').prop('checked', true);
}
});