diff --git a/README.md b/README.md index 4d3169a7..bf8d5bb2 100644 --- a/README.md +++ b/README.md @@ -433,7 +433,7 @@ function onNotification(e) { case 'message': // if this flag is set, this notification happened while we were in the foreground. // you might want to play a sound to get the user's attention, throw up a dialog, etc. - if ( e.foreground ) + if ( e.foreground == true ) { $("#app-status-ul").append('