Эх сурвалжийг харах

Added the lost `repeat` attribute...

Sebastián Katzer 12 жил өмнө
parent
commit
0b44d505fd

+ 2 - 1
www/local-notification.js

@@ -20,11 +20,12 @@ LocalNotification.prototype = {
      */
     add: function (options) {
         var defaults = {
-            date:       false,
+            date:       new Date(),
             message:    '',
             title:      '',
             badge:      0,
             id:         0,
+            repeat:     '',
             background: '',
             foreground: ''
         };