commit 6c5aa06d6b10ae891ebccc097c8a2b05331f2006 parent c04b85e74648f9f58dbc100faf1c4eaaa816228e Author: Adomas VenĨkauskas <adomas.ven@gmail.com> Date: Mon, 12 Mar 2018 14:52:46 +0200 Fix integration delayed citations popup timer. Closes #1461 Diffstat:
| M | chrome/content/zotero/xpcom/integration.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js @@ -2638,7 +2638,7 @@ Zotero.Integration.Timer = class { resume() { if (this.pauseTime) { - this.startTime += (this.pauseTime - this.startTime); + this.startTime += ((new Date()).getTime() - this.pauseTime); this.pauseTime = null; } }