fixed calculation of time until intervention pops up
This commit is contained in:
@ -605,7 +605,7 @@ configureEditors: function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// if notifications are too close to each other, ensure some time differences between them
|
// if notifications are too close to each other, ensure some time differences between them
|
||||||
if (Math.abs(timeUntilAskQuestion - timeUntilBreak) < 5){
|
if (Math.abs(timeUntilAskQuestion - timeUntilBreak) < 5 * 1000 * 60){
|
||||||
timeUntilBreak = timeUntilBreak * 2;
|
timeUntilBreak = timeUntilBreak * 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user