From 381351b4335ebb9b9f4ad4e7147da7b5cacd7332 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adomas=20Ven=C4=8Dkauskas?= Date: Mon, 5 Mar 2018 14:28:07 +0200 Subject: [PATCH] Fix an error being logged when window to activate is gone on Linux --- chrome/content/zotero/xpcom/utilities_internal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/utilities_internal.js b/chrome/content/zotero/xpcom/utilities_internal.js index f5b4385b3a..d2c924cf70 100644 --- a/chrome/content/zotero/xpcom/utilities_internal.js +++ b/chrome/content/zotero/xpcom/utilities_internal.js @@ -1363,7 +1363,7 @@ Zotero.Utilities.Internal.activate = new function() { } XFree(res[0]); - return foundWindow; + return false; } /**