Sebastián Katzer 11 سال پیش
والد
کامیت
14a0657202
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      www/local-notification.js

+ 1 - 1
www/local-notification.js

@@ -109,7 +109,7 @@ exports.setDefaults = function (newDefaults) {
  *      The notification's ID
  */
 exports.add = function (props, callback, scope) {
-    var options = this.mergeWithDefaults(options),
+    var options = this.mergeWithDefaults(props),
         fn      = this.createCallbackFn(callback, scope);
 
     if (options.id) {