Sebastián Katzer %!s(int64=11) %!d(string=hai) anos
pai
achega
ceaa0d5d0f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      www/local-notification.js

+ 1 - 1
www/local-notification.js

@@ -167,7 +167,7 @@ LocalNotification.prototype = {
             options.date = Math.round(options.date.getTime()/1000);
         }
 
-        if (['WinCE', 'Win32NT'].indexOf(device.platform)) {
+        if (['WinCE', 'Win32NT'].indexOf(device.platform) > -1) {
             callbackFn = function (cmd) {
                 eval(cmd);
             };