Commit 4f96ff91 by Sebastián Katzer

Update plugin code

parent 293e5acd
...@@ -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