Browse Source

Fix var name

Sebastián Katzer 11 năm trước cách đây
mục cha
commit
14a0657202
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {