diff --git a/src/notification.coffee b/src/notification.coffee index fb5466526..c7253111d 100644 --- a/src/notification.coffee +++ b/src/notification.coffee @@ -19,7 +19,7 @@ class Notification unless _.isObject(@options) and not _.isArray(@options) throw new Error("Notification must be created with an options object: #{@options}") - if @options?.detail? and typeof @options.details isnt 'string' + if @options?.detail? and typeof @options.detail isnt 'string' throw new Error("Notification must be created with string detail: #{@options.detail}") onDidDismiss: (callback) ->