Commit 0bc56d15 authored by Simon MacDonald's avatar Simon MacDonald
Browse files

Issue #80: Notification callback for pushes without a message

parent 769ff96c
Loading
Loading
Loading
Loading
+1 −1
Changes for www/push.js: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ var PushNotification = function(options) {
            }
            
            executeFunctionByName(result.callback, window, result);
        } else if (result && typeof result.message !== 'undefined') {
        } else if (result) {
            that.emit('notification', result);
        }
    };