Sebastián Katzer vor 11 Jahren
Ursprung
Commit
14a0657202
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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) {