浏览代码

Fix var name

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) {