Fix reminders order

pull/1/head
yflory 4 years ago
parent 6fe1aa7877
commit bd2cfea3d9

@ -147,7 +147,9 @@ define([
var sendNotif = function () { ctx.Store.onReadyEvt.reg(send); };
var notifs = ev.reminders || [];
notifs.sort();
notifs.sort(function (a, b) {
return a - b;
});
notifs.some(function (delayMinutes) {
var delay = delayMinutes * 60000;

Loading…
Cancel
Save