Commit b5df96ea by Sebastián Katzer

Fix crash when clicking on notification (WP8.1)

parent 3e43e6ab
...@@ -294,7 +294,7 @@ exports.isToastScheduled = function (toast) { ...@@ -294,7 +294,7 @@ exports.isToastScheduled = function (toast) {
*/ */
exports.isToastTriggered = function (toast) { exports.isToastTriggered = function (toast) {
var id = this.getToastId(toast), var id = this.getToastId(toast),
notification = this.getAll(id)[0]; notification = this.getAll([id])[0],
fireDate = new Date((notification.at) * 1000); fireDate = new Date((notification.at) * 1000);
if (this.isRepeating(notification)) if (this.isRepeating(notification))
......
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