From 6c5aa06d6b10ae891ebccc097c8a2b05331f2006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Mon, 12 Mar 2018 14:52:46 +0200 Subject: [PATCH] Fix integration delayed citations popup timer. Closes #1461 --- 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 index 672b2aa4a4..3aabf29f7a 100644 --- 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; } }