Commit ceaa0d5d by Sebastián Katzer

Fix js bug

parent b36d37c2
...@@ -167,7 +167,7 @@ LocalNotification.prototype = { ...@@ -167,7 +167,7 @@ LocalNotification.prototype = {
options.date = Math.round(options.date.getTime()/1000); options.date = Math.round(options.date.getTime()/1000);
} }
if (['WinCE', 'Win32NT'].indexOf(device.platform)) { if (['WinCE', 'Win32NT'].indexOf(device.platform) > -1) {
callbackFn = function (cmd) { callbackFn = function (cmd) {
eval(cmd); eval(cmd);
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment