AlloyTimer icon indicating copy to clipboard operation
AlloyTimer copied to clipboard

有时候任务倒计时会停在 00:01不再继续,只能手动停止

Open SteveVallay opened this issue 12 years ago • 3 comments

任务:【xxxx】时间 09:27 - 09:57 ,但你【停止】于:10:35

SteveVallay avatar Sep 09 '13 02:09 SteveVallay

我也越到了同样的问题,到00:01的时候就停止了

polandeme avatar Sep 15 '13 07:09 polandeme

一样的问题,见wiki

xinyun avatar May 15 '14 02:05 xinyun

问题出在alloy.timer.js的updateProgress方法内

当我们在其他的浏览器窗口操作的时候很难保证每次执行remainTime的值都是规律递减的,很可能是2 1 -1的值,进而永远都没有执行timeComing来提示任务完成。

作者太懒。也喜欢用番茄的完全保存一份http://alloyteam.github.io/AlloyTimer/ 修改这段逻辑然后浏览器收藏着用好了~

tangyefei avatar Sep 11 '15 09:09 tangyefei